Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5968

ShowVersions list is not correctly ordered

    XMLWordPrintable

Details

    • Bug
    • Resolution: Workaround exists
    • Neutral
    • None
    • 6.1.6
    • None
    • None

    Description

      Steps to reproduce:

      • create 2-3 version of the same page
      • restore version, so that "restore point" version is created
      • publish
      • Open version list by clicking showVersions action link

      Result: Versions appear in a strange order.

      Expected result: Versions appear ordered as they were created from more recent to the oldest.

      I've created and attached a patch for ShowVersionAction class, in which the list of VersionInfo items is ordered. It must be configured as the implementation class for the showVersions action. For example, for pages app, it would be configured under /modules/pages/apps/pages/subApps/browser/actions/showVersions@implementationClass

       

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              jayala Jonathan Ayala
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD