Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-1285

Handle other modes than "view" when configuring widget mode on tabs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.5
    • Fix Version/s: 2.9
    • Component/s: Layouts & Widgets

      Description

      Steps to reproduce:

      • in a tab, add a widget of type "layout" and fill the layout to use
      • in its advanced mode configuration, fill "# {currentUser.isMemberOf('administrators')?'edit':'view'}

        "

      => when an admin user displays the tab, an error occurs

      The error occurs because the layout to use is only filled in view mode, not in edit mode => the "edit properties" tab should appear when configuring mode on widgets in tabs.

        Attachments

          Activity

            People

            • Assignee:
              atchertchian Anahide Tchertchian
              Reporter:
              atchertchian Anahide Tchertchian
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: