Uploaded image for project: 'Magnolia REST Client UI'
  1. Magnolia REST Client UI
  2. MGNLRESTUI-40

Cannot display preview in chooser dialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 1.0.2
    • None

    Description

      I can assign a property to a REST JSON entity to display a preview in a link field and in a content app's browser sub app. However, no preview is displayed in a choose dialog.

      An example light module is available here:
      https://git.magnolia-cms.com/users/chris.jennings/repos/preview-problem/browse

      Using the examples from the REST Demo Project a restClient is configured. When used in the provided app, /apps/nba-drafts.yaml, a preview is visible in the browser subapp.

      When the exact same datasource configuration is used a chooser dialog, /dialogs/components/nba-drafts.yaml, there is no preview provided inside the workbench.

      I would expect the preview to be most useful to editors inside the chooser dialog.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              chris.jennings Chris Jennings
              DeveloperX
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD