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

No Replacement for OpenCreateDialogAction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 6.2.3
    • content app
    • None

    Description

      There is no usable way to create and populate a new node within a content app.

      In v5 we offered the action "OpenCreateDialogAction" which opened a dialog which, when saved, would create a new node and populate it.

      This can still be seen in Magnolia 6 in the Security app. When creating a new user, the dialog is opened and no node is created until clicking submitting the form.

      Similar behaviour can be created with a chained action but this creates an untitled node and then opens the dialog. Dismissing the dialog leaves behind an unpopulated, untitled node.

      The CreatePageAction class from magnolia-pages-app solves this problem with hardcoded references to nodetype and the use of the registries to find the dialog.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              chris.jennings Chris Jennings
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD