Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-88631

NullPointerException on BaseWorkflowPortlet - While a user is filtering by [Filter and Order], on My Submissions.

    Details

      Description

      Summary:
      A user can not use the filter [Filter and Order], on [My Submissions] tasks, even when a user has issues Pending.

      Prerequisite:

      1. A public WIKI page (Navigate to Product Menu > Site Administration > Build > Pages) should be created;
      2. A WIKI's Widgets should be added in Wiki Page;
      3. A non-admin user should be assigned to work on this Wiki.

      Steps to reproduce:

      1. Login as non-admin (who was associated on Wiki page);
      2. Go to Site > Wiki Page;
      3. Click to add a new page on "Add Child Page";
      4. Write on Title: Teste001 and then [Submit for Publication];
      5. Go to Control Panel > My Account > My Submissions;
      6. Go to [Filter and Order] > choose any option (All, or Pending, or Completed, or Last Activity Date, or End Date);

      Expected result:

      A previous list should be filtered or ordered.

      Actual result:
      To the user, [My Submissions is temporarily unavailable.] is a message showed; to the system, a nullPointerException on BaseWorkflow is broken.

       

      P.S.:

      A stack trace is annexed: "2018_12_20 18_46_40 ERROR". Look for "at com.liferay.portal.workflow.web.internal.portlet.BaseWorkflowPortlet.doDispatch(BaseWorkflowPortlet.java:122)"

       

      Reproducible in:

      commit a0cfab7e8dd4395dedb90518f2f3ac5d52f29e46 (HEAD -> master-private, upstream/master-private)

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            diego.furtado Diego Furtado
            Participants of an Issue:
            Recent user:
            Diego Furtado
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 3 weeks ago

                Packages

                Version Package
                Master