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

onActionSimpleRepoAction JS function does not allow for asynchronous action execution

    Details

      Description

      The onActionSimpleRepoAction function in share/components/documentlibrary/actions.js defines the wrong webscript URL, if the calling action wishes to execute asynchronously.

      The ActionQueuePost webscript accepts a webscript parameters, async, which ensures that the action being fired is executed asynchronously. The only way to add this webscript parameter from onActionSimpleRepoAction is to add an additonal URI template variable to the webscript name.

      Line 1042 in actions.js should have:
      name: "actionQueue"
      replaced with:
      name: "actionQueue?{async}

      With this change, an action defined in share-config-custom.xml can include an async parameter, and have that parameter passed through to the Action Queue webscript, enabling asynchronous execution.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                chalford Charlie Halford (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 1 hour
                  1w 1h

                    Structure Helper Panel