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

Make i.m.pages.app.action.RestorePreviousVersionAction to extend i.m.ui.contentapp.detail.action.RestorePreviousVersionAction

    XMLWordPrintable

Details

    • Task
    • Resolution: Outdated
    • Neutral
    • None
    • 5.0
    • content app, pages app
    • None

    Description

      Follow up of MGNLUI-1619:

      New action is almost an identical copy of info.magnolia.pages.app.action.RestorePreviousVersionAction - pls try to extract common code rather than duplicate. Most likely the one from pages should base on the "general" action.
      Details:
      #getPreviousVersion() is 100% identical
      #execute() is very similar

      Make sure the API is not changed.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mgeljic Mikaël Geljić
                jchocholacek Jozef Chocholacek
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR