Uploaded image for project: 'ui-requests'
  1. ui-requests
  2. UIREQ-510

Page crashes when special characters are in contributor names

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P1
    • Resolution: Done
    • None
    • 4.0.0
    • None
    • Core: F - Sprint 95
    • 1
    • Prokopovych
    • Q2 2020 Hot Fix #1
    • BNCF, Simmons

    Description

      Overview:
      On editing pick slips settings to have contributor names, requests app crashes with the attached image.

      Steps to Reproduce:
      1. One of our tenants has data like '<1957-> in instance contributor names
      2. Go to Settings->Circulation-> Pick Slips -> In pick slip template , add item.primaryContributor or item.allContributors tokens
      3. Save, logout and log back in to FOLIO and click on Requests app.
      4. App crashes with a page as attached in the image.

      Expected Results:
      Requests app does not crash and shows the list of requests

      Actual Results:
      Requests app crashes

      Additional Information:
      I've checked data to verify that item does not have contributor information. Its only instances that have contributor info like the above pattern.
      They also have these patterns <1957- ;Roma>, <1957-2010>, <1957- >, <1957->
      Unsure why UI code is treating it as xml tags

      URL:

      Interested parties:
      dbranchini

      TestRail: Results

        Attachments

          1. screenshot-1.png
            screenshot-1.png
            94 kB
          2. screenshot-2.png
            screenshot-2.png
            57 kB
          3. Screen Shot 2020-08-17 at 12.10.51 PM.png
            Screen Shot 2020-08-17 at 12.10.51 PM.png
            112 kB
          4. screenshot-3.png
            screenshot-3.png
            283 kB

          Issue Links

            Activity

              People

                zburke Zak_Burke
                sduvvuri Sobha Duvvuri
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases