Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-11166

Portal request form breaks when searching for insights object with special char

    XMLWordPrintable

Details

    Description

      Issue Summary

      Having special characters like ") |" in the Insight object name can break customer request forms. When the customer tries to copy/paste the name of the object for the Insight object custom field of the request form. 

      Steps to Reproduce

      1. Create an Insight object with special characters. For example: "(Bug) | Portal".
      2. Create a custom field of Insight objects type. For example Test Insight Field 
      3. In the Insight object field configuration select object schema and make sure the "Name" attribute is selected under "Allow search filtering by these attributes".
      4. Now add this custom field in the request form.
      5. Go to the customer portal and select the request form.
      6. Copy and paste "(ABC) | other" in the search Insight Object field (i.e. Test Insight Field)

      Expected Results

      • The field should be updated and display list of suggestions. 

      Actual Results

      • Field "Test Insight Field" is lost from the request form.
      • Browser console also shows error for 

      Workaround

      • Only know workaround for now is to rename the object name

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              apradhan2 Abhishek
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: