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

Make the UI reflect the changes when a tag is sanitized

    XMLWordPrintable

    Details

    • Release Notes Summary:
      The tags are sanitized in the suggestions.
    • Backlog priority:
      600
    • Upgrade notes:
      Hide

      New global function String.sanitize(boolean) to cleanup tags

      Show
      New global function String.sanitize(boolean) to cleanup tags
    • Sprint:
      nxsupport 10.3.1
    • Story Points:
      2

      Description

      Since NXP-24945, the tags are sanitized at creation time. However the UI does not reflect the change :

      • the faces message displays the non-sanitized name
      • the tag list displays the non-sanitized name

      Steps to reproduce:

      1. navigate to a document in the JSF UI
      2. enter the tag foo/bar and validate with the Enter key
      3. observe that the tag foo/bar is added to the list of tags and that the message
      4. refresh the page
      5. observe now that the list displays the sanitized tag name foobar

      Expected behavior

      1. at least the message and the list should use the sanitized
      2. at best, a warning message should be added when the entered tag is diffierent from the saved name to indicate that the tag was sanitized.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 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 - 5 hours
                  5h