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

Can't configure editable chooser

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 6.2.3
    • None

    Description

      Steps to reproduce

      1. Register an editable chooser:
        !inherit:ui-framework-jcr:chooser
        workbenchChooser:
          workbench:
            contentViews:
              - name: tree
                readOnly: false
                columns:
                  jcrName:
                    editable: true
                    editor:
                      $type: textField
        
      2. Use it for a link field:
              $type: linkField
              chooserId: security-app:chooser
              datasource:
                $type: jcrDatasource
                workspace: users
        

        Open the chooser of this link field.

      Expected results

      The column is not editable.

      Actual results

      1. Workbench is not editable.

      Workaround

      -

      Development notes

      We still use AppAwareWorkbenchChooserDefinition for compatibility reasons. This definition mutates even explicitly defined workbench.
      It should mutate only choosers created from an app reference.
      When fixed, make sure the existing chooser definitions have configured readOnly:false.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                rkovarik Roman Kovařík
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 1h 32m
                      1h 32m