Uploaded image for project: 'ui-data-import'
  1. ui-data-import
  2. UIDATIMP-1205

QuotaExceededError: Failed to execute 'setItem' on 'Storage': Setting the value of 'profileTreeData' exceeded the quota. (Lotus HF2)

    XMLWordPrintable

Details

    • 0
    • Folijet Support
    • Lotus (R1 2022) Hot Fix #2
    • Yes
    • Lotus HF approved by [~mveksler@ebsco.com] [~jakub] [~hkaplanian] [~mikegorrell] [~kgambrell] in the Slack release_bug_triage channel 28 June 2022
    • Cornell, Skidmore College
    • Data related (ex. Can be detected with large dataset only)

    Description

      Overview:
      User is getting error 'Something Went Wrong' on the UI when opening a data import profile for editing. This issue is not happening for all the data import profiles and apparently seems to be happening for profiles having more data/conditions.
       
      Current workaround: None

      Steps to Reproduce:

      1. Log into FOLIO https://bugfest-kiwi.folio.ebsco.com/ .
      2. Go to Settings-> Data Import->Job Profiles.
      3. Select the profile 'Test Quota job'.
      4. Click on Action–> Edit.

      Expected Results: The selected profile should open for editing.

      Actual Results: The UI throws 'Something Went Wrong' with the error in console being 'Error: QuotaExceededError: Failed to execute 'setItem' on 'Storage': Setting the value of 'profileTreeData' exceeded the quota.

      Additional Information: See attached error screenshots 
      Investigation/Observation:
      As per the error , we could see that json string object is being put in session storage but the system is failing to do so as the session storage for most browsers has a limit of 5 MB. It seems that it is due to setting up of below API response in session storage. 
       
      API with large response(>5MB) https://okapi-cornell.folio.ebsco.com/data-import-profiles/profileSnapshots/411de749-cc10-4d6e-830e-f0d16f7ac362?profileType=JOB_PROFILE&jobProfileId=411de749-cc10-4d6e-830e-f0d16f7ac362

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Mariia_Aloshyna Mariia Aloshyna
                abreaux Ann-Marie Breaux
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases