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

Web Content Structure/Template Sort and Pagination Options get reset

    Details

      Description

      The number of results per page and the sort options get reset when the user attempts to delete a structure or template and Liferay returns an error

      End Goal

      For the results per page and sort setting remain the same even after the error is returned.

      Steps to Reproduce

      1. Start Liferay
      2. Create 10+ Web Content Structures that are used by a Web Content Template
      3. Sort the structures by most recently modified, and then change the pagination to display 75 results in one page
      4. Attempt to delete one of the structures
      5. Liferay returns an error that the structure cannot be deleted because it is being used by a template
        Expected Behavior: The structures are still sorted by most recently modified, and the pagination is set to display 75 results in one page
        Actual Behavior: The structures are re-sorted to list the most recently modified entries at the end, and the pagination is reset to display 20 results in one page

      Testing

      Reproduced in branch:

      72x hash: f815615415aaca1cf17f5af8c9dc4a05584c5296
      

      Reproduced in master:

      master hash: 8fb1396b753a2583a0506423a65ea015e5c11afe
      

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            christopher.kian Christopher Kian
            Participants of an Issue:
            Recent user:
            Enterprise Release HU
            Engineering Assignee:
            Christopher Kian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              12 weeks, 4 days ago

                Packages

                Version Package
                7.2.X
                7.3.5 CE GA6
                7.3.10 DXP GA1
                Master