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

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoR