Details

    • Bug Priority:
      Category 1
    • Sprint:
      Nightwing 4 - Owlman
    • Story Points:
      2

      Description

      Steps to reproduce:

      1. Create RM site. Create a custom relationship that would be bi-directional.
      2. Navigate to Unfiled Records and upload two records.
      3. Create a relationship between the two records.
      4. Navigate to details page of the record from which the relationship has been made and try to delete the relationship.

      Expected results:

      The relationship is deleted.

      Actual results:

      The relationship cannot be deleted.
      Same happens for records in categories and other types of relationships as well.

      Investigation

      When clicking on the delete icon, there is a DELETE call to http://localhost:8080/share/proxy/alfresco/api/node/%7BcurrentItem.nodeRef%7D/undefined/undefined/targetnode/workspace/SpacesStore/97091e00-0488-4b11-9f6a-1b568026976d/uniqueName/6af26513-145d-43c6-946a-71a340cfa613. This fails (as expected) with:

      {
          "status" : 
        {
          "code" : 404,
          "name" : "Not Found",
          "description" : "Requested resource is not available."
        },  
        
        "message" : "09250003 Unable to find node: '{currentItem.nodeRef}:\/\/undefined\/undefined'.",  
        "exception" : "org.springframework.extensions.webscripts.WebScriptException - 09250003 Unable to find
       node: '{currentItem.nodeRef}:\/\/undefined\/undefined'.",
        
        "callstack" : 
        [ 
        	  ""      ,"org.springframework.extensions.webscripts.WebScriptException: 09250003 Unable to find
       node: '{currentItem.nodeRef}:\/\/undefined\/undefined'."
            ,"org.alfresco.module.org_alfresco_module_rm.script.AbstractRmWebScript.parseRequestForNodeRef
      (AbstractRmWebScript.java:144)"
            ,"org.alfresco.module.org_alfresco_module_rm.script.RelationshipDelete.executeImpl(RelationshipDelete
      .java:82)"
            ,"org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java
      :64)"
            ,"org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:491)"
            ,"org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper
      .java:457)"
            ,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java
      :559)"
            ,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer
      .java:628)"
            ,"org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java
      :400)"
            ,"org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:281
      )"
            ,"org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java
      :378)"
            ,"org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java
      :209)"
            ,"org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java
      :132)"
            ,"javax.servlet.http.HttpServlet.service(HttpServlet.java:727)"
            ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java
      :303)"
            ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)"
            ,"org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)"
            ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java
      :241)"
            ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)"
            ,"org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java
      :61)"
            ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java
      :241)"
            ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)"
            ,"org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)"
            ,"org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)"
            ,"org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)"
            ,"org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)"
            ,"org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)"
            ,"org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)"
            ,"org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)"
            ,"org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)"
            ,"org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)"
      
            ,"org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611
      )"
            ,"org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2403)"
      
            ,"java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)"
            ,"java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)"
            ,"org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)"
            ,"java.lang.Thread.run(Thread.java:745)"
       
        ],
        
        "server" : "Enterprise v5.0.3 (.9 r129532-b123) schema 8,040",
        "time" : "25-Oct-2016 17:30:48"
      }
      

        Attachments

          Structure

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                onechiforescu Oana Nechiforescu [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel