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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.x
    • Fix Version/s: 3.1.x, 3.0.21
    • Component/s: Web UI
    • Backlog priority:
      800
    • Upgrade notes:
      Hide

      Platform dependency

      Show
      Platform dependency
    • Sprint:
      UI - 2023-2, UI - 2023-3, UI COOLDOWN - 2023-2

      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

              • Assignee:
                pyadav Poonam Yadav
                Reporter:
                pyadav Poonam Yadav
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 1 day
                  1w 1d