{"action":"closed","issue":{"url":"https://api.github.com/repos/macfol/Kamienica/issues/65","repository_url":"https://api.github.com/repos/macfol/Kamienica","labels_url":"https://api.github.com/repos/macfol/Kamienica/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/macfol/Kamienica/issues/65/comments","events_url":"https://api.github.com/repos/macfol/Kamienica/issues/65/events","html_url":"https://github.com/macfol/Kamienica/issues/65","id":160099412,"number":65,"title":"Invoice - can;t save due to problem with decimal point","user":{"login":"macfol","id":12062146,"avatar_url":"https://avatars.githubusercontent.com/u/12062146?v=3","gravatar_id":"","url":"https://api.github.com/users/macfol","html_url":"https://github.com/macfol","followers_url":"https://api.github.com/users/macfol/followers","following_url":"https://api.github.com/users/macfol/following{/other_user}","gists_url":"https://api.github.com/users/macfol/gists{/gist_id}","starred_url":"https://api.github.com/users/macfol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macfol/subscriptions","organizations_url":"https://api.github.com/users/macfol/orgs","repos_url":"https://api.github.com/users/macfol/repos","events_url":"https://api.github.com/users/macfol/events{/privacy}","received_events_url":"https://api.github.com/users/macfol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/macfol/Kamienica/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/macfol/Kamienica/milestones/1","html_url":"https://github.com/macfol/Kamienica/milestones/1.0%20Beta","labels_url":"https://api.github.com/repos/macfol/Kamienica/milestones/1/labels","id":1817562,"number":1,"title":"1.0 Beta","description":"","creator":{"login":"macfol","id":12062146,"avatar_url":"https://avatars.githubusercontent.com/u/12062146?v=3","gravatar_id":"","url":"https://api.github.com/users/macfol","html_url":"https://github.com/macfol","followers_url":"https://api.github.com/users/macfol/followers","following_url":"https://api.github.com/users/macfol/following{/other_user}","gists_url":"https://api.github.com/users/macfol/gists{/gist_id}","starred_url":"https://api.github.com/users/macfol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macfol/subscriptions","organizations_url":"https://api.github.com/users/macfol/orgs","repos_url":"https://api.github.com/users/macfol/repos","events_url":"https://api.github.com/users/macfol/events{/privacy}","received_events_url":"https://api.github.com/users/macfol/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":4,"state":"open","created_at":"2016-06-09T12:19:48Z","updated_at":"2016-06-16T10:28:49Z","due_on":"2016-06-29T22:00:00Z","closed_at":null},"comments":0,"created_at":"2016-06-14T05:21:04Z","updated_at":"2016-06-16T10:28:49Z","closed_at":"2016-06-16T10:28:49Z","body":"When trying to save with dot (example 34.6) error is:\r\n\r\n> java.lang.NumberFormatException: For input string: \"�\"\r\n> \tsun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)\r\n> \tsun.misc.FloatingDecimal.parseDouble(Unknown Source)\r\n> \tjava.lang.Double.parseDouble(Unknown Source)\r\n> \tkamienica.core.ManagerPayment.decimalFormat(ManagerPayment.java:130)\r\n> \tkamienica.core.ManagerPayment.createPaymentEnergyList(ManagerPayment.java:38)\r\n> \tkamienica.feature.invoice.InvoiceController.invoiceEnergySave(InvoiceController.java:244)\r\n> \tsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n> \tsun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n> \tsun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n> \tjava.lang.reflect.Method.invoke(Unknown Source)\r\n> \torg.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)\r\n> \torg.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)\r\n> \torg.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)\r\n> \torg.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749)\r\n> \torg.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689)\r\n> \torg.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83)\r\n> \torg.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938)\r\n> \torg.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)\r\n> \torg.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)\r\n> \torg.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:863)\r\n> \tjavax.servlet.http.HttpServlet.service(HttpServlet.java:648)\r\n> \torg.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)\r\n> \tjavax.servlet.http.HttpServlet.service(HttpServlet.java:729)\r\n> \tkamienica.configuration.CORSFilter.doFilter(CORSFilter.java:22)\r\n> \torg.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)\r\n> \torg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)\r\n> \torg.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)\r\n> \torg.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)\r\n> \torg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)\r\n> \torg.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)\r\n> \torg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)\r\n> \torg.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:122)\r\n> \torg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)\r\n> \torg.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)\r\n> \torg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)\r\n> \torg.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:169)\r\n> \torg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)\r\n> \torg.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:48)\r\n> \torg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)\r\n> \torg.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205)\r\n> \torg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)\r\n> \torg.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:120)\r\n> \torg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)\r\n> \torg.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:120)\r\n> \torg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\r\n> \torg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)\r\n> \torg.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)\r\n> \torg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\r\n> \torg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)\r\n> \torg.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)\r\n> \torg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\r\n> \torg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)\r\n> \torg.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)\r\n> \torg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)\r\n> \torg.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:53)\r\n> \torg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\r\n> \torg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)\r\n> \torg.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213)\r\n> \torg.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)\r\n> \torg.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)\r\n> \torg.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)\r\n\r\n\r\nWhen trying to save with \",\"   it gets back to form with \"invalid format\" message"}}
{"actor":{"display_login":"macfol"}}