Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0048754 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo Localizations] Localization Portugal | major | always | 2022-03-09 15:50 | 2022-03-10 12:54 | |||
Reporter | ucarrion | View Status | public | |||||
Assigned To | jorge-garcia | |||||||
Priority | high | Resolution | unable to reproduce | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Regression introduced in release | ||||||||
Summary | 0048754: Copy store process fails if there is a document type with no fiscal prefix defined | |||||||
Description | While running a Copy Retail Store process for a Portuguese configured store, if there is any involved document type that has no document type prefix defined, the copy store shows an error. FIND THE ERROR LOG ATTACHED | |||||||
Steps To Reproduce | -Login the backoffice, select an store set as Portuguese Configuration=true -Open the document type document and filter for the mentioned store -Take the POS Order and set the document type prefix (portuguese configuration section) and set is as empty. -Do a copy store process using the mentioned store as template -You will get an error | |||||||
Proposed Solution | Could be some cases where, by any reason, some document types have no document type prefix. I would say, if the document is not SAFT signed, I wouldn't care of it during the copy store. | |||||||
Tags | NOR | |||||||
Attached Files | 48754log.txt [^] (25,192 bytes) 2022-03-09 16:22 [Show Content] [Hide Content]2022-03-09 16:21:06,194 [http-8] ERROR org.openbravo.retail.copystore.process.CopyStoreProcess - Error in process org.openbravo.base.exception.OBException: SAF-T prefix syntax is incorrect, only uppercase letters are valid at com.practicsbs.saftpt.handler.SaftDocumentTypeSeqHandler.validateSaftDocTypePrefix(SaftDocumentTypeSeqHandler.java:206) ~[classes/:?] at com.practicsbs.saftpt.handler.SaftDocumentTypeSeqHandler.isValidDocType(SaftDocumentTypeSeqHandler.java:116) ~[classes/:?] at com.practicsbs.saftpt.handler.SaftDocumentTypeSeqHandler.isValid(SaftDocumentTypeSeqHandler.java:71) ~[classes/:?] at com.practicsbs.saftpt.handler.SaftDocumentTypeSeqHandler.onSave(SaftDocumentTypeSeqHandler.java:48) ~[classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor301.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:168) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124) ~[cdi-api-2.0.SP1.jar:${parsedVersion.osgiVersion}] at org.jboss.weld.util.Observers.notify(Observers.java:166) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.EventImpl.fire(EventImpl.java:96) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.openbravo.client.kernel.event.PersistenceEventOBInterceptor.sendNewEvent(PersistenceEventOBInterceptor.java:94) ~[classes/:?] at org.openbravo.client.kernel.event.PersistenceEventOBInterceptor.onSave(PersistenceEventOBInterceptor.java:83) ~[classes/:?] at org.openbravo.client.kernel.event.PersistenceEventOBInterceptor$Proxy$_$$_WeldClientProxy.onSave(Unknown Source) ~[classes/:?] at org.openbravo.dal.core.OBInterceptor.onSave(OBInterceptor.java:244) ~[classes/:?] at org.hibernate.event.internal.AbstractSaveEventListener.substituteValuesIfNecessary(AbstractSaveEventListener.java:391) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:271) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:196) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:139) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:192) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:177) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:97) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:73) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.internal.SessionImpl.fireSaveOrUpdate(SessionImpl.java:682) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:674) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.openbravo.dal.core.SessionHandler.save(SessionHandler.java:438) ~[classes/:?] at org.openbravo.dal.service.OBDal.save(OBDal.java:309) ~[classes/:?] at org.openbravo.retail.copystore.process.CopyStoreProcess.cloneObject(CopyStoreProcess.java:551) ~[classes/:?] at org.openbravo.retail.copystore.process.CopyStoreProcess.getObjectInTree(CopyStoreProcess.java:1597) ~[classes/:?] at org.openbravo.retail.copystore.process.CopyStoreProcess.getDocumentType(CopyStoreProcess.java:1701) ~[classes/:?] at org.openbravo.retail.copystore.process.DefaultPropertiesHandler$OrganizationProperties$CDoctype.handleProperty(DefaultPropertiesHandler.java:298) ~[classes/:?] at org.openbravo.retail.copystore.process.DefaultPropertiesHandler$OrganizationProperties$CDoctype$Proxy$_$$_WeldClientProxy.handleProperty(Unknown Source) ~[classes/:?] at org.openbravo.retail.copystore.process.CopyStoreProcess.processProperty(CopyStoreProcess.java:646) ~[classes/:?] at org.openbravo.retail.copystore.process.CopyStoreProcess.processFKOrganizationProperties(CopyStoreProcess.java:636) [classes/:?] at org.openbravo.retail.copystore.process.CopyStoreProcess.execute(CopyStoreProcess.java:339) [classes/:?] at org.openbravo.retail.copystore.process.CopyActionHandler.executeProcess(CopyActionHandler.java:25) [classes/:?] at org.openbravo.retail.copystore.process.CopyBaseActionHandler.doExecute(CopyBaseActionHandler.java:124) [classes/:?] at org.openbravo.client.application.process.BaseProcessActionHandler.execute(BaseProcessActionHandler.java:153) [classes/:?] at org.openbravo.retail.copystore.process.CopyBaseActionHandler.execute(CopyBaseActionHandler.java:62) [classes/:?] at org.openbravo.client.kernel.KernelServlet.processActionRequest(KernelServlet.java:317) [classes/:?] at org.openbravo.client.kernel.KernelServlet.doGet(KernelServlet.java:207) [classes/:?] at org.openbravo.client.kernel.KernelServlet.doPost(KernelServlet.java:289) [classes/:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) [tomcat8-servlet-api.jar:?] at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:200) [openbravo-core.jar:?] at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:459) [classes/:?] at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:89) [classes/:?] at org.openbravo.client.kernel.BaseKernelServlet.service(BaseKernelServlet.java:60) [classes/:?] at org.openbravo.client.kernel.KernelServlet.service(KernelServlet.java:169) [classes/:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [tomcat8-servlet-api.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat8-websocket-8.5.39.jar:8.5.39] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66) [openbravo-core.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:38) [openbravo-core.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java:65) [classes/:?] at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:47) [classes/:?] at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:74) [classes/:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:96) [classes/:?] at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:47) [classes/:?] at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:118) [classes/:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) [log4j-web-2.17.0.jar:2.17.0] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:476) [tomcat8-coyote-8.5.39.jar:8.5.39] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat8-coyote-8.5.39.jar:8.5.39] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806) [tomcat8-coyote-8.5.39.jar:8.5.39] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498) [tomcat8-coyote-8.5.39.jar:8.5.39] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat8-coyote-8.5.39.jar:8.5.39] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat8-util-8.5.39.jar:8.5.39] at java.lang.Thread.run(Thread.java:834) [?:?] 2022-03-09 16:21:06,196 [http-8] ERROR org.openbravo.retail.copystore.process.CopyStoreProcess - SAF-T prefix syntax is incorrect, only uppercase letters are valid org.openbravo.base.exception.OBException: SAF-T prefix syntax is incorrect, only uppercase letters are valid at com.practicsbs.saftpt.handler.SaftDocumentTypeSeqHandler.validateSaftDocTypePrefix(SaftDocumentTypeSeqHandler.java:206) ~[classes/:?] at com.practicsbs.saftpt.handler.SaftDocumentTypeSeqHandler.isValidDocType(SaftDocumentTypeSeqHandler.java:116) ~[classes/:?] at com.practicsbs.saftpt.handler.SaftDocumentTypeSeqHandler.isValid(SaftDocumentTypeSeqHandler.java:71) ~[classes/:?] at com.practicsbs.saftpt.handler.SaftDocumentTypeSeqHandler.onSave(SaftDocumentTypeSeqHandler.java:48) ~[classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor301.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:168) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124) ~[cdi-api-2.0.SP1.jar:${parsedVersion.osgiVersion}] at org.jboss.weld.util.Observers.notify(Observers.java:166) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.EventImpl.fire(EventImpl.java:96) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.openbravo.client.kernel.event.PersistenceEventOBInterceptor.sendNewEvent(PersistenceEventOBInterceptor.java:94) ~[classes/:?] at org.openbravo.client.kernel.event.PersistenceEventOBInterceptor.onSave(PersistenceEventOBInterceptor.java:83) ~[classes/:?] at org.openbravo.client.kernel.event.PersistenceEventOBInterceptor$Proxy$_$$_WeldClientProxy.onSave(Unknown Source) ~[classes/:?] at org.openbravo.dal.core.OBInterceptor.onSave(OBInterceptor.java:244) ~[classes/:?] at org.hibernate.event.internal.AbstractSaveEventListener.substituteValuesIfNecessary(AbstractSaveEventListener.java:391) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:271) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:196) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:139) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:192) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:177) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:97) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:73) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.internal.SessionImpl.fireSaveOrUpdate(SessionImpl.java:682) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:674) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.openbravo.dal.core.SessionHandler.save(SessionHandler.java:438) ~[classes/:?] at org.openbravo.dal.service.OBDal.save(OBDal.java:309) ~[classes/:?] at org.openbravo.retail.copystore.process.CopyStoreProcess.cloneObject(CopyStoreProcess.java:551) ~[classes/:?] at org.openbravo.retail.copystore.process.CopyStoreProcess.getObjectInTree(CopyStoreProcess.java:1597) ~[classes/:?] at org.openbravo.retail.copystore.process.CopyStoreProcess.getDocumentType(CopyStoreProcess.java:1701) ~[classes/:?] at org.openbravo.retail.copystore.process.DefaultPropertiesHandler$OrganizationProperties$CDoctype.handleProperty(DefaultPropertiesHandler.java:298) ~[classes/:?] at org.openbravo.retail.copystore.process.DefaultPropertiesHandler$OrganizationProperties$CDoctype$Proxy$_$$_WeldClientProxy.handleProperty(Unknown Source) ~[classes/:?] at org.openbravo.retail.copystore.process.CopyStoreProcess.processProperty(CopyStoreProcess.java:646) ~[classes/:?] at org.openbravo.retail.copystore.process.CopyStoreProcess.processFKOrganizationProperties(CopyStoreProcess.java:636) [classes/:?] at org.openbravo.retail.copystore.process.CopyStoreProcess.execute(CopyStoreProcess.java:339) [classes/:?] at org.openbravo.retail.copystore.process.CopyActionHandler.executeProcess(CopyActionHandler.java:25) [classes/:?] at org.openbravo.retail.copystore.process.CopyBaseActionHandler.doExecute(CopyBaseActionHandler.java:124) [classes/:?] at org.openbravo.client.application.process.BaseProcessActionHandler.execute(BaseProcessActionHandler.java:153) [classes/:?] at org.openbravo.retail.copystore.process.CopyBaseActionHandler.execute(CopyBaseActionHandler.java:62) [classes/:?] at org.openbravo.client.kernel.KernelServlet.processActionRequest(KernelServlet.java:317) [classes/:?] at org.openbravo.client.kernel.KernelServlet.doGet(KernelServlet.java:207) [classes/:?] at org.openbravo.client.kernel.KernelServlet.doPost(KernelServlet.java:289) [classes/:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) [tomcat8-servlet-api.jar:?] at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:200) [openbravo-core.jar:?] at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:459) [classes/:?] at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:89) [classes/:?] at org.openbravo.client.kernel.BaseKernelServlet.service(BaseKernelServlet.java:60) [classes/:?] at org.openbravo.client.kernel.KernelServlet.service(KernelServlet.java:169) [classes/:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [tomcat8-servlet-api.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat8-websocket-8.5.39.jar:8.5.39] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66) [openbravo-core.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:38) [openbravo-core.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java:65) [classes/:?] at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:47) [classes/:?] at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:74) [classes/:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:96) [classes/:?] at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:47) [classes/:?] at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:118) [classes/:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) [log4j-web-2.17.0.jar:2.17.0] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat8-catalina-8.5.39.jar:8.5.39] at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:476) [tomcat8-coyote-8.5.39.jar:8.5.39] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat8-coyote-8.5.39.jar:8.5.39] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806) [tomcat8-coyote-8.5.39.jar:8.5.39] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498) [tomcat8-coyote-8.5.39.jar:8.5.39] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat8-coyote-8.5.39.jar:8.5.39] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat8-util-8.5.39.jar:8.5.39] at java.lang.Thread.run(Thread.java:834) [?:?] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
Notes | |
(0135619) jorge-garcia (reporter) 2022-03-10 12:54 |
Once SAFT prefix for a document type is set, there is no way to change it through the ERP, however, it is possible to change it through a database query The query used to change it was: update C_DocType set em_saft_doctype_prefix = '' where c_doctype_id = '511A9371A0F74195AA3F6D66C722729D'; The problem with this query is that the em_saft_doctype_prefix is not null (indicating the field has a value) and then the regular expression to verify the prefix contains only uppercase letters fails Instead, if it is needed to delete a SAFT prefix through database, should be: update C_DocType set em_saft_doctype_prefix = null where c_doctype_id = '511A9371A0F74195AA3F6D66C722729D'; |
Issue History | |||
Date Modified | Username | Field | Change |
2022-03-09 15:50 | ucarrion | New Issue | |
2022-03-09 15:50 | ucarrion | Assigned To | => aferraz |
2022-03-09 16:20 | rafaroda | Tag Attached: NOR | |
2022-03-09 16:22 | ucarrion | Description Updated | View Revisions |
2022-03-09 16:22 | ucarrion | File Added: 48754log.txt | |
2022-03-09 16:37 | aferraz | Assigned To | aferraz => jorge-garcia |
2022-03-10 12:54 | jorge-garcia | Note Added: 0135619 | |
2022-03-10 12:54 | jorge-garcia | Status | new => closed |
2022-03-10 12:54 | jorge-garcia | Resolution | open => unable to reproduce |
2022-03-10 15:19 | jorge-garcia | Relationship added | related to 0048763 |
Copyright © 2000 - 2009 MantisBT Group |