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

    Details

    • Type: Task
    • Status: Closed
    • Priority: Neutral
    • Resolution: Outdated
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: content app, pages app
    • Labels:
      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: