Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-148

All unsaved data is lost on rename of the asset.

    XMLWordPrintable

Details

    • DR4
    • Hide

      1. Create new process.
      2. Add an empty task.
      3. Rename the process.

      Expected result: The process is renamed and otherwise nothing changes.
      Actual result. Designer refreshes and renames the process, but you also loose your unsaved work.

      Show
      1. Create new process. 2. Add an empty task. 3. Rename the process. Expected result: The process is renamed and otherwise nothing changes. Actual result. Designer refreshes and renames the process, but you also loose your unsaved work.

    Description

      When you have some unsaved work in the designer and you rename it, the designer refreshes and you lose all the unsaved changes with no option to return (the undo button is not enabled). At the same time NoSuchFileException can be seen in the server log.

      16:36:07,294 ERROR [stderr] (http-127.0.0.1:8080-6) org.uberfire.java.nio.file.NoSuchFileException
      16:36:07,295 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.readAttributes(JGitFileSystemProvider.java:1752)
      16:36:07,295 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.jbpm.designer.repository.vfs.VFSRepository.buildAsset(VFSRepository.java:479)
      16:36:07,295 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.jbpm.designer.repository.vfs.VFSRepository.loadAsset(VFSRepository.java:328)
      16:36:07,295 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.jbpm.designer.repository.vfs.VFSRepository$Proxy$_$$_WeldClientProxy.loadAsset(VFSRepository$Proxy$_$$_WeldClientProxy.java)
      16:36:07,295 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.jbpm.designer.repository.servlet.AssetServiceServlet.doPost(AssetServiceServlet.java:127)
      16:36:07,295 ERROR [stderr] (http-127.0.0.1:8080-6) 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
      16:36:07,295 ERROR [stderr] (http-127.0.0.1:8080-6) 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      16:36:07,295 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
      16:36:07,295 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      16:36:07,295 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.uberfire.ext.security.server.SecureHeadersFilter.doFilter(SecureHeadersFilter.java:69)
      16:36:07,295 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
      16:36:07,295 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      16:36:07,295 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.uberfire.ext.security.server.SecurityIntegrationFilter.doFilter(SecurityIntegrationFilter.java:61)
      16:36:07,295 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
      16:36:07,296 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      16:36:07,296 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)
      16:36:07,296 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
      16:36:07,296 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:512)
      16:36:07,296 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
      16:36:07,296 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
      16:36:07,296 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
      16:36:07,296 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150)
      16:36:07,296 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
      16:36:07,296 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:419)
      16:36:07,296 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
      16:36:07,296 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
      16:36:07,296 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854)
      16:36:07,296 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
      16:36:07,297 ERROR [stderr] (http-127.0.0.1:8080-6) 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)
      16:36:07,297 ERROR [stderr] (http-127.0.0.1:8080-6) 	at java.lang.Thread.run(Thread.java:745)
      16:36:07,297 ERROR [org.jbpm.designer.repository.servlet.AssetServiceServlet] (http-127.0.0.1:8080-6) Error storing asset: null
      
      

      Attachments

        Issue Links

          Activity

            People

              karreiro_ Guilherme Gomes (Inactive)
              jsoltes Juraj Soltes (Inactive)
              Jozef Marko Jozef Marko
              Jozef Marko Jozef Marko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: