Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-1060

CLONE - Escape forward slashes in vocabulary entry when deleting or updating an entry

    XMLWordPrintable

    Details

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

      Description

      Steps to reproduce

      1. Go to Administration > Vocabularies
      2. Choose "nature"
      3. Add an entry with id = https://adress.com/ and label = blabla
      4. Observe the entry is correctly added
      5. Click on the Delete icon for the new entry
      6. Observe an error is displayed
      7. Click on the Edit icon for the new entry, change the label and submit the form
      8. Observe an error is displayed "Failed to fetch"

      The error on Delete could be reproduced with a curl command

      curl -X DELETE http://localhost:8080/nuxeo/api/v1/directory/nature/https%3A/adress.com/?pageSize=0 

       

      The problem seems to be related the forward slash in the entry id which is not encoded.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: