Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-14462

Trailing spaces stripped from input after " in Admin UI

    Details

    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      1
    • Sprint:
      Team UI - 2020.6
    • Support Ticket IDs:

      Description

      When modifying an attribute to include data with quotes ("), if there is a trailing space after the quote, this is lost in the PATCH call:

      PATCH http://localhost:8080/openidm/managed/user/961dc3d6-b789-49ce-8d6f-49136c5f7172
      
      [{"operation":"replace","field":"/description","value":"someData\"withSpace"}]

      To reproduce:

      1. Install IDM 6.5.x
      2. Create a managed/user
      3. Modify the Description field to contain a text with a trailing space, e.g. 'someData" withSpace'
      4. View updated object and note the removal of the space after the quote

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jason.browne Jason Browne
                Reporter:
                tom.wood Tom Wood
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: