Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26343

Fix advanced configuration of Layout Widget Editor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Bug
    • Affects Version/s: 10.3-SNAPSHOT
    • Fix Version/s: 10.3
    • Component/s: Seam / JSF UI

      Description

      Steps to reproduce:
      In Studio:

      • Configure a custom document with custom schema.
      • Add the fields from the custom schema to each of the custom document's layouts.
      • On the edit layout, select one of the custom fields and click on the pencil icon to open the Layout Widget Editor.
      • Scroll down to Advanced mode configuration and click in the blank space below the heading to make the textbox appear.
      • Enter the following:
         #{layoutValue.dc.title=='Hide me' ? 'hidden' : 'edit'}
        
      • Save and deploy.

      In Nuxeo:

      • Create the custom document, with the title "Hide me".
      • Edit the document.
        => The custom field is visible, not hidden.
        => The custom field is not editable.

      I am not sure about this test scenario – expected results were not made clear, but it seems like the field should be hidden.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.