[OpenVPMS Developers] [JIRA] (OVPMS-1109) Cannot delete POSTED act during OTC workflow
Cannot delete POSTED act during OTC workflow --------------------------------------------
Key: OVPMS-1109 URL: https://openvpms.atlassian.net/browse/OVPMS-1109 Project: VPMS Web Application Issue Type: Bug Components: Workflow Affects Versions: 1.5 Reporter: Tim Anderson Assignee: Tim Anderson
From a 1.5 error report: {noformat} java.lang.IllegalStateException: Cannot delete POSTED act at org.openvpms.web.component.im.edit.act.AbstractActEditor.doDelete(AbstractActEditor.java:181) at org.openvpms.web.component.im.edit.AbstractIMObjectEditor.delete(AbstractIMObjectEditor.java:303) at org.openvpms.web.app.workflow.otc.OverTheCounterWorkflow.cancelSale(OverTheCounterWorkflow.java:177) at org.openvpms.web.app.workflow.otc.OverTheCounterWorkflow.access$000(OverTheCounterWorkflow.java:55) at org.openvpms.web.app.workflow.otc.OverTheCounterWorkflow$2.taskEvent(OverTheCounterWorkflow.java:124) at org.openvpms.web.component.workflow.TaskListeners.taskEvent(TaskListeners.java:81) at org.openvpms.web.component.workflow.AbstractTask.notifyEvent(AbstractTask.java:235) at org.openvpms.web.component.workflow.AbstractTask.notifyCancelled(AbstractTask.java:149) at org.openvpms.web.component.workflow.EditIMObjectTask.onEditCancelled(EditIMObjectTask.java:413) at org.openvpms.web.component.workflow.EditIMObjectTask$2.onClose(EditIMObjectTask.java:324) at org.openvpms.web.component.event.WindowPaneListener.windowPaneClosing(WindowPaneListener.java:39) at nextapp.echo2.app.WindowPane.fireWindowClosing(WindowPane.java:154) at org.openvpms.web.component.dialog.PopupWindow.fireWindowClosing(PopupWindow.java:259) at nextapp.echo2.app.WindowPane.userClose(WindowPane.java:795) at org.openvpms.web.component.dialog.PopupDialog.userClose(PopupDialog.java:226) at org.openvpms.web.component.dialog.PopupWindow.close(PopupWindow.java:183) at org.openvpms.web.component.dialog.PopupDialog.close(PopupDialog.java:362) at org.openvpms.web.component.dialog.PopupDialog.doCancel(PopupDialog.java:312) at org.openvpms.web.component.im.edit.AbstractEditDialog.doCancel(AbstractEditDialog.java:210) at org.openvpms.web.component.dialog.PopupDialog$1.veto(PopupDialog.java:297) at org.openvpms.web.component.im.edit.AbstractEditDialog.onCancel(AbstractEditDialog.java:422) at org.openvpms.web.component.im.edit.AbstractEditDialog.access$000(AbstractEditDialog.java:44) at org.openvpms.web.component.im.edit.AbstractEditDialog$2.onVeto(AbstractEditDialog.java:118) at org.openvpms.web.component.dialog.PopupDialog.onCancel(PopupDialog.java:294) at org.openvpms.web.component.dialog.PopupDialog.onButton(PopupDialog.java:253) at org.openvpms.web.component.dialog.PopupDialog$2.onAction(PopupDialog.java:375) at org.openvpms.web.component.event.ActionListener.actionPerformed(ActionListener.java:41) at nextapp.echo2.app.button.AbstractButton.fireActionPerformed(AbstractButton.java:135) at echopointng.ButtonEx$1.actionPerformed(ButtonEx.java:120) at nextapp.echo2.app.button.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:70) at echopointng.model.DefaultButtonModelEx.doAction(DefaultButtonModelEx.java:51) at echopointng.ButtonEx.processInput(ButtonEx.java:202) at nextapp.echo2.app.update.ClientUpdateManager.process(ClientUpdateManager.java:116) at nextapp.echo2.app.update.UpdateManager.processClientUpdates(UpdateManager.java:89) at nextapp.echo2.webcontainer.ContainerSynchronizeService.renderUpdate(ContainerSynchronizeService.java:471) at nextapp.echo2.webrender.service.SynchronizeService.service(SynchronizeService.java:279) at nextapp.echo2.webrender.WebRenderServlet.process(WebRenderServlet.java:273) at org.openvpms.web.servlet.SpringWebContainerServlet.process(SpringWebContainerServlet.java:148) at nextapp.echo2.webrender.WebRenderServlet.doPost(WebRenderServlet.java:189) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1805) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {noformat}
-- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://openvpms.atlassian.net/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/developers Posts from this mailing list can be viewed online and replied to in the OpenVPMS Developer's forum- http://tinyurl.com/openvdf