Ramsons - Requests - #Copies not incrementing with all print actions

Description

Description:

The #Copies printed does not update with all print actions, only with single copy print.

Steps to reproduce:

  1. Log in to as folio/folio.

  2. Select service point = Eckhart Library.

  3. Open Requests app and filter to Page/Open - Not yet filled

  4. There is one slip eligible for printing associated with this request:

Expected results: #Copies increments each time the slip is printed, regardless of method

Actual result:

  1. Using the single print option - adds a copy to the #Copies column

  2. Using print selected option - does not add a copy to the #Copies column

  3. Using print all option - does not add a copy to the #Copies column

Required information for a CSP request

  1. Describe issue impact on business - Affects slips generation, printing and export of requests to CSV.

  2. What institutions are affected? (field “Affected Institutions” in Jira to be populated) - LoC, all libraries that use TLR

  3. What is the workaround if exists? - No workaround

  4. What areas will be impacted by fix (i.e. what areas need to be retested) - Pickslips print (Single print, selective print and bulk print)

  5. Brief explanation of technical implementation and the level of effort (in workdays) and technical risk (low/medium/high) - 2 workdays, low technical risk

  6. Brief explanation of testing required and level of effort (in workdays). Provide test plan agreed with by QA Manager and PO. - 1 workday

  7. What is the roll back plan in case the fix does not work? - Revert to previous version of the module

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

21

Checklist

hide

Activity

Show:

Irina Pokhylets last week

It has been verified on (R bugfest), works as expected.

Irina Pokhylets February 26, 2025 at 9:41 AM

Works as expected on eureka snapshot.

Polina Ustimenko February 26, 2025 at 5:42 AM

Checked on eureka snapshot, main problem with # Copies and Printed columns is fixed:

Will be tested again when is done to ensure unnecessary copies are removed from generated .pdf file.

please review, thank you

Irina Pokhylets February 20, 2025 at 9:12 AM

The ticket for back-end fix is

Gurleen Kaur1 February 20, 2025 at 7:46 AM

The duplicated requestId issue for pickslips occurred because the query in mod-circulation failed to include a condition in the WHERE clause. Specifically, it should have specified requestLevel=Item when fetching itemLevel Requests, and requestLevel=Title for TLR. Without this condition, the same request record was being retrieved twice by the API -- GET circulation/pick-slips/{servicePointID}. Which is further used to POST/ print-events-entry to increment the copies count and the last print details.
Having said this its better front-end also has a safe code to remove duplciateIDs and back-end code to fix the above mentioned issue.

Done

Details

CSP Approved

Yes

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Volaris

Fix versions

Release

Ramsons (R2 2024) Service Patch #1

RCA Group

TBD

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created February 12, 2025 at 3:55 PM
Updated last week
Resolved March 7, 2025 at 10:09 AM
TestRail: Cases
TestRail: Runs