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

DDL entry edit redirect should account for both Workflow Tasks and DDL Display

    Details

      Description

      There are 2 regressions that happened with editing DDL entries, LPS-81283 and LPS-81538.

      The fixes for each fix causes the other to break. Editing records in DDL Display is currently broken, while Workflow Tasks edit is working.

      The fix for one will just revert the fix for the other
      See
      https://github.com/liferay/liferay-portal/commit/eefbaab5aee6cef4125fd1dc6832e1eb0e1a4d3f
      and
      https://github.com/liferay/liferay-portal/commit/c979ba7edaa0b932dc49a9096a6d1630aa5fd1d4

      Steps to Reproduce Issue in DDL Display (Currently broken):

      1. Go to Content > Dynamic Data Lists
      2. Add a new List
      3. Select an existing Data Definition
      4. Select "Single Approver" workflow
      5. Save list
      6. Add 2 list records, submit both for publication
      7. Go to My Workflow Tasks
      8. Select one of the list records
      9. Assign to Me
      10. Click on the Edit icon to edit the DDL record
      11. Edit one of the values
      12. Save

      Expected Result:
      User is still only able to edit the record that was assigned them.

      Bug Result:
      User is redirected to the record table with all records for that list. User can access and maybe edit those records.

      Steps to Reproduce issue in Workflow Tasks (Currently working):

      1. Go to Content > Dynamic Data Lists
      2. Add a new List
      3. Select an existing Data Definition
      4. Select "Single Approver" workflow
      5. Save list
      6. Add 2 list records, submit both for publication
      7. Go to My Workflow Tasks
      8. Select one of the list records
      9. Assign to Me
      10. Click on the Edit icon to edit the DDL record
      11. Edit one of the values
      12. Save

      Expected Result:
      User is still only able to edit the record that was assigned them.

      Bug Result:
      User is redirected to the record table with all records for that list. User can access and maybe edit those records.

      Both of these scenarios should be working

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 9 weeks, 1 day ago

                  Packages

                  Version Package