Break order lines in chunks on receiving list

Description

Overview: 500 errors when searching for titles using "Order status" facet in "Receiving" on evrk2

Preconditions:

  • Titles for orders with different statuses exist in “Receiving“ app

Steps to reproduce:

  1. Login to evrk2 environment as an admin user

  2. Go to “Receiving“ app

  3. In the first pane, click on “Order status“ accordion header to expand it

  4. Select “Closed“ option

  5. Click “Reset all“ button

  6. Select “Open“ option

  7. Select “Pending“ option

  8. Click “Reset all“ button

Expected result: At Steps 4, 6, 8, titles for records with corresponding statuses should be shown in the second pane.

Actual result: No results shown in the second pane for “Open“, “Pending“ order statuses. In DevTools, GET requests to /order-lines fail with 500 status and the following response body:

{ "errors" : [ { "message" : "", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 }

Additional info:

  • NOT reproducible on Snapshot, Q bugfest

  • Also, now reproducible on FSE Dry run 1 (true as of 7/5/2024)

  • Also, receiving titles can’t be found by "Created by", "Updated by" filters on FSE Dry run 1 for some users. Example: FolioLast, FolioFirst F, but can be found if providing the order number in addition. With the same error message for failed response in DevTools

  • Also, title information of order is not updated after unreceiving the piece with the same error message for failed response in DevTools

  • See example:

Environment

None

Potential Workaround

None

Attachments

3
  • 08 Aug 2024, 06:47 AM
  • 01 Aug 2024, 09:47 AM
  • 01 Aug 2024, 09:47 AM

Checklist

hide

Activity

Show:

Yauhen Viazau August 8, 2024 at 6:49 AM

Tested on Q Bugfest (https://bugfest-quesnelia.int.aws.folio.org/ ) - works as expected

Receiving titles are being loaded when selecting “Order status“ filter options. I case of a large number of titles, corresponding requests are split into multiple calls. See examples:

 

Mikita Siadykh August 7, 2024 at 1:51 PM

could you please verify it on bugfest env?

Yauhen Viazau August 2, 2024 at 7:08 AM

Issue confirmed fixed on evrk2
Tested in scope of https://folio-org.atlassian.net/browse/EUREKA-161
Note: It was not possible to test it on Snapshot due to insufficient amount of titles in “Receiving”

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Thunderjet

Release

Quesnelia (R1 2024) Service Patch #2

CSP Approved

Yes

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created August 1, 2024 at 9:47 AM
Updated August 20, 2024 at 5:07 AM
Resolved August 6, 2024 at 6:30 AM
TestRail: Cases
TestRail: Runs