{"action":"created","issue":{"url":"https://api.github.com/repos/servicecatalog/development/issues/74","repository_url":"https://api.github.com/repos/servicecatalog/development","labels_url":"https://api.github.com/repos/servicecatalog/development/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/servicecatalog/development/issues/74/comments","events_url":"https://api.github.com/repos/servicecatalog/development/issues/74/events","html_url":"https://github.com/servicecatalog/development/issues/74","id":154686211,"number":74,"title":"after hide payment info billing run does not work","user":{"login":"elfriedegoetz","id":15209605,"avatar_url":"https://avatars.githubusercontent.com/u/15209605?v=3","gravatar_id":"","url":"https://api.github.com/users/elfriedegoetz","html_url":"https://github.com/elfriedegoetz","followers_url":"https://api.github.com/users/elfriedegoetz/followers","following_url":"https://api.github.com/users/elfriedegoetz/following{/other_user}","gists_url":"https://api.github.com/users/elfriedegoetz/gists{/gist_id}","starred_url":"https://api.github.com/users/elfriedegoetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfriedegoetz/subscriptions","organizations_url":"https://api.github.com/users/elfriedegoetz/orgs","repos_url":"https://api.github.com/users/elfriedegoetz/repos","events_url":"https://api.github.com/users/elfriedegoetz/events{/privacy}","received_events_url":"https://api.github.com/users/elfriedegoetz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servicecatalog/development/labels/bug/status/new","name":"bug/status/new","color":"009800"},{"url":"https://api.github.com/repos/servicecatalog/development/labels/feature-branch/fb_omit_payment","name":"feature-branch/fb_omit_payment","color":"c5def5"},{"url":"https://api.github.com/repos/servicecatalog/development/labels/foundby/FT","name":"foundby/FT","color":"d93f0b"},{"url":"https://api.github.com/repos/servicecatalog/development/labels/priority/P2","name":"priority/P2","color":"fbca04"},{"url":"https://api.github.com/repos/servicecatalog/development/labels/severity/major","name":"severity/major","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"DawidCh","id":14540695,"avatar_url":"https://avatars.githubusercontent.com/u/14540695?v=3","gravatar_id":"","url":"https://api.github.com/users/DawidCh","html_url":"https://github.com/DawidCh","followers_url":"https://api.github.com/users/DawidCh/followers","following_url":"https://api.github.com/users/DawidCh/following{/other_user}","gists_url":"https://api.github.com/users/DawidCh/gists{/gist_id}","starred_url":"https://api.github.com/users/DawidCh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DawidCh/subscriptions","organizations_url":"https://api.github.com/users/DawidCh/orgs","repos_url":"https://api.github.com/users/DawidCh/repos","events_url":"https://api.github.com/users/DawidCh/events{/privacy}","received_events_url":"https://api.github.com/users/DawidCh/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/servicecatalog/development/milestones/6","html_url":"https://github.com/servicecatalog/development/milestones/16.0.5","labels_url":"https://api.github.com/repos/servicecatalog/development/milestones/6/labels","id":1651130,"number":6,"title":"16.0.5","description":"","creator":{"login":"mdehn","id":17825532,"avatar_url":"https://avatars.githubusercontent.com/u/17825532?v=3","gravatar_id":"","url":"https://api.github.com/users/mdehn","html_url":"https://github.com/mdehn","followers_url":"https://api.github.com/users/mdehn/followers","following_url":"https://api.github.com/users/mdehn/following{/other_user}","gists_url":"https://api.github.com/users/mdehn/gists{/gist_id}","starred_url":"https://api.github.com/users/mdehn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdehn/subscriptions","organizations_url":"https://api.github.com/users/mdehn/orgs","repos_url":"https://api.github.com/users/mdehn/repos","events_url":"https://api.github.com/users/mdehn/events{/privacy}","received_events_url":"https://api.github.com/users/mdehn/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":2,"state":"open","created_at":"2016-03-17T14:14:56Z","updated_at":"2016-05-19T09:14:50Z","due_on":"2016-07-30T22:00:00Z","closed_at":null},"comments":12,"created_at":"2016-05-13T10:57:45Z","updated_at":"2016-05-19T14:30:37Z","closed_at":null,"body":"Date:2016/05/13\r\n\r\n[Test category]:creative\r\n\r\n[Steps to reproduce]\r\nset \"HIDE_PAYMENT_INFORMATION\" to true\r\nsubscribe to a service with native billing\r\nstart billing run\r\n\r\n[Expected result]\r\nbilling result for the subscription  will be created\r\n[Observed result]\r\nno billing result"},"comment":{"url":"https://api.github.com/repos/servicecatalog/development/issues/comments/220341904","html_url":"https://github.com/servicecatalog/development/issues/74#issuecomment-220341904","issue_url":"https://api.github.com/repos/servicecatalog/development/issues/74","id":220341904,"user":{"login":"elfriedegoetz","id":15209605,"avatar_url":"https://avatars.githubusercontent.com/u/15209605?v=3","gravatar_id":"","url":"https://api.github.com/users/elfriedegoetz","html_url":"https://github.com/elfriedegoetz","followers_url":"https://api.github.com/users/elfriedegoetz/followers","following_url":"https://api.github.com/users/elfriedegoetz/following{/other_user}","gists_url":"https://api.github.com/users/elfriedegoetz/gists{/gist_id}","starred_url":"https://api.github.com/users/elfriedegoetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfriedegoetz/subscriptions","organizations_url":"https://api.github.com/users/elfriedegoetz/orgs","repos_url":"https://api.github.com/users/elfriedegoetz/repos","events_url":"https://api.github.com/users/elfriedegoetz/events{/privacy}","received_events_url":"https://api.github.com/users/elfriedegoetz/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T14:30:37Z","updated_at":"2016-05-19T14:30:37Z","body":"[Steps to reproduce]\r\nstart with a empty DS\r\n set \"HIDE_PAYMENT_INFORMATION\" to true\r\ncreate Service Provider, publish Service\r\ncreate Customer w/o specifying org E-Mail, addr.\r\n subscribe to a service with native billing\r\n start billing run\r\n\r\n-> it seems that this error has something to do with optional fields for the customer organization. It is important to start with an empty db, so that no payment types or email exist. Please check the log file below:\r\n\r\nlook in System.log:\r\n05/19/2016_15:44:55.824 FSP_INTS-BSS: INFO: ThreadID RMI TCP Connection(17)-10.140.18.59: BillingServiceBean: 00020: Billing run has started.\r\n05/19/2016_15:44:56.417 FSP_INTS-BSS: WARN: ThreadID RMI TCP Connection(17)-10.140.18.59: BillingConditionsEvaluator: 40303: Billing result schema validation failed. Billing result for organization 11000 (tkey) and subscription 11000 (tkey) is invalid, SAX parser reported: cvc-complex-type.2.4.a: Invalid content was found starting with element 'Name'. One of '{Email}' is expected. Billing result is: <BillingDetails timezone=\"UTC+01:00\" key=\"10000\"><Period startDate=\"1462053600000\" startDateIsoFormat=\"2016-04-30T22:00:00.000Z\" endDate=\"1464732000000\" endDateIsoFormat=\"2016-05-31T22:00:00.000Z\"/><OrganizationDetails><Id>8d65d984</Id><Name>CU1_org</Name><Paymenttype>INVOICE</Paymenttype><Udas/></OrganizationDetails><Subscriptions><Subscription id=\"Example\"><PriceModels><PriceModel id=\"12001\" calculationMode=\"PRO_RATA\" serviceId=\"Example\"><UsagePeriod startDate=\"1463665413540\" startDateIsoFormat=\"2016-05-19T13:43:33.540Z\" endDate=\"1464732000000\" endDateIsoFormat=\"2016-05-31T22:00:00.000Z\"/><PeriodFee basePeriod=\"MONTH\" basePrice=\"3.00\" factor=\"0.3982177643369176\" price=\"1.19\"/><UserAssignmentCosts basePeriod=\"MONTH\" basePrice=\"0.00\" factor=\"0.0\" numberOfUsersTotal=\"0\" total=\"0.00\" price=\"0.00\"/><OneTimeFee amount=\"2.00\" baseAmount=\"2.00\" factor=\"1\"/><PriceModelCosts currency=\"EUR\" amount=\"3.19\"/></PriceModel></PriceModels></Subscription></Subscriptions><OverallCosts netAmount=\"3.19\" currency=\"EUR\" grossAmount=\"3.19\"/></BillingDetails>\r\norg.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 256; cvc-complex-type.2.4.a: Invalid content was found starting with element 'Name'. One of '{Email}' is expected.\r\n                at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)\r\n                at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)\r\n                at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:437)\r\n                at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)\r\n                at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:325)\r\n                at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:458)\r\n                at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3237)\r\n                at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1796)\r\n                at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:746)\r\n                at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:378)\r\n                at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2778)\r\n                at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)\r\n                at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)\r\n                at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)\r\n                at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)\r\n                at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)\r\n                at com.sun.org.apache.xerces.internal.jaxp.validation.StreamValidatorHelper.validate(StreamValidatorHelper.java:155)\r\n                at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:116)\r\n                at javax.xml.validation.Validator.validate(Validator.java:124)\r\n                at org.oscm.billingservice.business.calculation.revenue.BillingConditionsEvaluator.isValidBillingResult(BillingConditionsEvaluator.java:52)\r\n                at org.oscm.billingservice.business.calculation.revenue.RevenueCalculatorBean.performBillingRunForSubscription(RevenueCalculatorBean.java:132)\r\n                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n                at java.lang.reflect.Method.invoke(Method.java:606)\r\n                at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)\r\n                at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)\r\n                at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5388)\r\n                at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)\r\n                at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)\r\n                at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)\r\n                at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)\r\n                at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)\r\n                at sun.reflect.GeneratedMethodAccessor359.invoke(Unknown Source)\r\n                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n                at java.lang.reflect.Method.invoke(Method.java:606)\r\n                at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)\r\n                at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)\r\n                at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)\r\n                at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5360)\r\n                at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)\r\n                at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)\r\n                at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:89)\r\n                at com.sun.proxy.$Proxy391.performBillingRunForSubscription(Unknown Source)\r\n                at org.oscm.billingservice.service.BillingServiceBean.executeBilling(BillingServiceBean.java:251)\r\n                at org.oscm.billingservice.service.BillingServiceBean.startBillingRun(BillingServiceBean.java:131)\r\n                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n"}}