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

nuxeo-directory-suggestion should not try to connect when the operation is an empty string

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 10.10-HF30
    • Fix Version/s: None
    • Component/s: Web UI

      Description

      • In Studio Modeler create a simple vocabulary, MyVoc, with 1-2 values (we don't care, not the issue).
      • Have a custom document type, MyDoc, with one field, mydoc:mystring, type directory, linked to MyVoc.
      • Go to Designer and generate the layout for edit mode (for instance), then click the field and add an operation to the operation┬áparameter (whatever, we don't care)
      • Save
      • Reload the page, and now, remove the text you put for the operation parameter.
      • If you look at the code you will see <nuxeo-directory-suggestion ... operation="" ...>, where you have an empty string for the operation.

      Deploy and test:

      Issues:
      1. WebUI should not try to connect when the operation is an empty string
      2. Designer could try to assert if an empty string is a possible value or not (not possible at the moment)

      Workaround: Go to the source, remove the operation=""

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes
                  1h 30m

                    PagerDuty

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