Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8126

Use current user to filter validation tasks in publication workflow.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5-SNAPSHOT
    • Fix Version/s: 5.5
    • Component/s: Publishing

      Description

      We need to use the current user to filter the validaton tasks in publication workflow.

      NXP-8094 is a side effect of this bug.
      Indeed, if a user submits a doc to publication, as the validation tasks are not filtered with the current user, the CoreProxyWithWorkflowFactory considers that this user has validation tasks (since a task actually exists, but assigned to Administrator), so the "Publish/Reject" buttons are displayed in the summary tab of the proxy.

      See <h:panelGroup rendered="#{publishActions.hasValidationTask()}"> in publication_widget_template.xhtml.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ataillefer Antoine Taillefer
                Reporter:
                ataillefer Antoine Taillefer
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.