Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-5943

CLONE - Rejecting a record doesn't work anymore with ACS 6.1.0-RC4

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.1
    • Component/s: Repository
    • Labels:
      None
    • Bug Priority:
      Category 1
    • Regression Since:
      6.0

      Description

      Steps:

      1. Install ACS 6.1.0-RC4(or later) and RM 3.1.0-SNAPSHOT
      2. Declare a file as a record, works fine
      3. Go to the RM site and attempt to reject the record

      Expected: Record should be rejected.

      Actual: Share displays a popup saying that IT should be contacted and the record is not rejected.

       

      The Alfresco logs show the following:

      2019-01-14 16:51:32,063 ERROR [extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-6] Exception from executeScript: 00140014 Wrapped Exception (with status template): 00140078 Person 'System' already exists.
      org.springframework.extensions.webscripts.WebScriptException: 00140014 Wrapped Exception (with status template): 00140078 Person 'System' already exists.
      at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1139)
      at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
      at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:519)
      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450)
      at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:587)
      at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:656)
      at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:428)
      at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:308)
      at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:399)
      at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:210)
      at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
      at org.alfresco.repo.web.scripts.AlfrescoWebScriptServlet.service(AlfrescoWebScriptServlet.java:43)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
      at jdk.internal.reflect.GeneratedMethodAccessor801.invoke(Unknown Source)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
      at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
      at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
      at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:170)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:225)
      at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      at jdk.internal.reflect.GeneratedMethodAccessor798.invoke(Unknown Source)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
      at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
      at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
      at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
      at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
      at org.alfresco.module.aosmodule.service.ContextRootFilter.doFilter(ContextRootFilter.java:93)
      at jdk.internal.reflect.GeneratedMethodAccessor798.invoke(Unknown Source)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
      at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
      at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
      at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
      at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
      at org.alfresco.web.app.servlet.ServletMetricsFilter.doFilter(ServletMetricsFilter.java:178)
      at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:89)
      at jdk.internal.reflect.GeneratedMethodAccessor798.invoke(Unknown Source)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
      at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
      at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
      at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
      at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
      at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:53)
      at jdk.internal.reflect.GeneratedMethodAccessor798.invoke(Unknown Source)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
      at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
      at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
      at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
      at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
      at org.alfresco.web.app.servlet.ClearSecurityContextFilter.doFilter(ClearSecurityContextFilter.java:53)
      at jdk.internal.reflect.GeneratedMethodAccessor798.invoke(Unknown Source)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
      at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
      at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
      at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
      at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: org.alfresco.error.AlfrescoRuntimeException: 00140078 Person 'System' already exists.
      at org.alfresco.repo.security.person.PersonServiceImpl.createPerson(PersonServiceImpl.java:997)
      at org.alfresco.repo.security.person.PersonServiceImpl.createPerson(PersonServiceImpl.java:972)
      at org.alfresco.repo.security.person.PersonServiceImpl$2.doWork(PersonServiceImpl.java:895)
      at org.alfresco.repo.security.person.PersonServiceImpl$2.doWork(PersonServiceImpl.java:1)
      at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:623)
      at org.alfresco.repo.security.authentication.AuthenticationUtil.runAsSystem(AuthenticationUtil.java:657)
      at org.alfresco.repo.security.person.PersonServiceImpl.createMissingPersonAsSystem(PersonServiceImpl.java:889)
      at org.alfresco.repo.security.person.PersonServiceImpl.getPersonImpl(PersonServiceImpl.java:504)
      at org.alfresco.repo.security.person.PersonServiceImpl.getPerson(PersonServiceImpl.java:483)
      at org.alfresco.repo.security.person.PersonServiceImpl.getPerson(PersonServiceImpl.java:440)
      at org.alfresco.repo.model.Repository$4.execute(Repository.java:340)
      at org.alfresco.repo.model.Repository$4.execute(Repository.java:1)
      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450)
      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:338)
      at org.alfresco.repo.model.Repository.getPerson(Repository.java:346)
      at org.alfresco.repo.notification.EMailNotificationProvider.buildTemplateModel(EMailNotificationProvider.java:290)
      at org.alfresco.repo.notification.EMailNotificationProvider.sendNotification(EMailNotificationProvider.java:248)
      at o...
      
      

      Note: This is a regression since ACS 6.1.0- RC3

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  rsutu Rodica Sutu
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel