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

Status is not updated with the correct user when using workflow

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.10 EE GA1, 6.2.X EE, 7.0.0 Beta 8
    • Fix Version/s: 6.2.X EE, 7.0.0 Beta 8
    • Component/s: Workflow
    • Labels:

      Description

      When we approve an entry, the statusByUserId and statusByUserName values are not updated correctly with the current user's data. The user remains the original one, who sent the entry for review.

      Possible reproduction steps using a Web Content (other entries are affected as well):

      1. Set Single Approver Workflow for Web Contents
        (e.g. Create a Folder and edit it to use Single Approver workflow)
      2. Create a User (Creator), grant him enough permission to create a Web Content
      3. Submit a Web Content for publication
        Checkpoint:
        In Web Content List view when we hover the mouse over the status 'Pending', Creator is displayed.
      4. Log in with the default Admin user
      5. Approve the Web Content

      Result:
      In Web Content List view when we hover the mouse over the status 'Approved', still Creator is displayed
      Expected:
      The default Admin user should be displayed as he approved the Web Content

        Attachments

        1. Fixed.PNG
          Fixed.PNG
          25 kB
        2. Fixed62.PNG
          Fixed62.PNG
          21 kB
        3. Reproduced.PNG
          Reproduced.PNG
          28 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

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

                Packages

                Version Package
                6.2.X EE
                7.0.0 Beta 8