Verification - Is this plug-in making duplicate GET calls?

Description

Investigation: Need to confirm if the eholdings plug-in is making duplicate calls.  Duplicate calls are resulting in customers reporting HoldingsIQ API calls exceeding limit. 

How to verify

  1. Go to Agreements 

  2. Create an agreement or view an existing agreement record 

  3. Go to the Agreement lines accordion 

  4. Click the Add Agreement line button 

  5. Select the eholdings toggle 

  6. Click Link e-resource button to display eholdings plug-in

  7. Select Packages toggle 

  8. Search chemistry

  9. Verify if duplicate GET calls are made 

  10. Then Select Titles 

  11. Search Jane eyre 

  12. Verify if duplicate GET calls are made 

 

Screenshot

Environment

None

Potential Workaround

None

Attachments

1

Checklist

hide

TestRail: Results

Activity

Show:

Denys Bohdan March 24, 2022 at 11:24 AM

Hey , from the comment above, do you think we can link this story to and close this one?

Denys Bohdan March 21, 2022 at 11:10 AM

 it's as  said - fetchNextPage is called multiple times from MCL. I'm not sure if this is intended or not.
And because it's called multiple times quickly there's some asynchronous code that doesn't have time to execute properly
This issue will be fixed when we switch to paginated MCL in

Chirag Kalra March 21, 2022 at 9:53 AM

Inside package toggle, multiple calls are being made by the plugin. The multiple calls are made by Mutliple Column List component inside Stripes  which is calling a function that fetches next page data. The fetchNext page function is being called multiple times depending on the height of the screen. No duplicate api calls were found while testing titles search.

Duplicate

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Release

Morning Glory (R2 2022)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 10, 2022 at 12:45 AM
Updated April 1, 2022 at 12:54 PM
Resolved April 1, 2022 at 12:54 PM
TestRail: Cases
TestRail: Runs