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

linkField from M6 to M5 app too complicated to configure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 6.2.2
    • 6.2.1
    • None
    • None

    Description

      API described at https://documentation.magnolia-cms.com/display/DOCS62/Link+field documentation does not work when linking from an M6 app to an M5 app.

      Linking from an M6 to an M5 app will continue to be a frequent use case. Some Magnoila shipped apps are M5 apps, such as the Stories app and the Categories app, and the apps in the Travel Demo.
      Apps created for projects will be M5 apps. And apps created by partners or used in Incubator modules or in 3rd party extensions will continue to be M5 apps until they are migrated.

      Ideally the API documented would work as-is when linking from an M6 to an M5 app. Alternatively the API should be as straightforward to configure as the current M6->M5 app or M5->M5 app.

      A specific example:

      When adding a linkField to a dialog, the select chooser is empty, see attached screenshot. Tested on demo author, contacts-v8 app

      // code placeholder
      categoryLinkField:
        label: Categories
        $type: linkField
        buttonSelectNewLabel: Select new ...
        buttonSelectOtherLabel: Select another ...
        chooser:
          workbenchChooser:
            datasource:
              $type: jcrDatasource
              workspace: category
              rootPath: /
              previewDefinition:
                nodeName: name
      

      Note: the config above doesn't have an app reference nor a custom workbench config so could not work.

      Checklists

        Acceptance criteria

        Attachments

          1. add property.png
            add property.png
            156 kB
          2. categories-ui6.yaml
            7 kB
          3. error.categories-app.log.txt
            289 kB
          4. error with categories app.png
            error with categories app.png
            384 kB
          5. verify.png
            verify.png
            501 kB

          Issue Links

            Activity

              People

                asiska Adam Siska
                viet.nguyen Viet Nguyen
                Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 0.95h
                      0.95h