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

Fix white spaces in schema field name that block saving without feedback

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 73.5
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Schemas

      Description

      Defining a schema field in Studio, when I enter a white space in the field name :

      • there's no red feedback saying it's forbidden
      • save does nothing nor says it doesn't
      • leaving the page displays the "save, discard, cancel popup", when save is pressed the page is changed but the save is not done and current work is lost

      The problem is present on connect.nuxeo.com

      TODO

      • Check with core team what should be accepted in this field

      AC

      • When a schema field contains an invalid character, display a validation error mentioning:

        Field [field name] contains invalid characters. Accepted values are [valid values, e.g. alphanumerical characters, dashes (-) and underscores (_)].

      • Error message display does not lead to a XSS.
      • When a schema field contains an invalid character, visually show which field(s) containing invalid data.
      • When invalid characters are removed, remove mentions of the error.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:

                PagerDuty

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