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

Choose dialog in legacy apps is not selecting the selected item

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2.6
    • Component/s: None
    • Labels:

      Description

      Steps to reproduce

      Case 1: Stories app

      1.  Go to stories app
      2.  Open lost-and-found-in-swiss-alps
      3. Go to the image block and click on Browse buttom

      Case 2: Tours app (and others apps using the legacy UI and the old linkfield: info.magnolia.ui.form.field.definition.LinkFieldDefinition)

      1.  Go to tours app
      2.  Open Vietnam: Tradition and Today tour
      3. Go to the image and click on Browse buttom

      Expected results

      The choose dialog is opened, the image appears in the preview side, the image appears selected directly and the focus allows us to see where the picture is without need to scroll.
      If it is not a linkfield pointing to an image, then the item should be selected and it should appear in view (not need to scroll).

      Actual results

      The preview is displayed, however the picture is not selected.
      In case of a linkfield to other workspace different from dam, the item is not selected so we cannot know what item is the selected one.

      Workaround

      N/A

      Development notes

      Issue seems related to the compatibility mode. When info.magnolia.ui.form.field.definition.LinkFieldDefinition is used. Another example can be found in Legacy pages app when info.magnolia.ui.form.field.definition.LinkFieldDefinition is used, for instance, text and image component.

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                oanh.thai Oanh Thai Hoang
                Reporter:
                miruela Mercedes Iruela
                Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Checklists

                    Bug DoR
                    DoD

                      Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Time Spent - 1d 2h 20m Remaining Estimate - 10m
                      10m
                      Logged:
                      Time Spent - 1d 2h 20m Remaining Estimate - 10m
                      1d 2h 20m