https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42383

Tomás Cohen Arazi (tcohen) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Signed Off

--- Comment #210 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Thanks Martin, Matt and everyone who tested. Here is where this stands, so it
can make the QA cut without hiding anything.
HISTORY AND REBASE (points 20 and the rebase notes)
- Rebased on current main (bugs 43504 and 43516 included), and squashed from 61
patches into 7, grouped by area: each file belongs to a single patch. Brendan's
sign-off is kept on all of them, and Matt's added, as he QA'd the series.
- HttpClient: return_error_response is gone. As suggested, the error thrown by
HttpClient now carries the parsed response body, the check-in client uses
suppressDefaultErrorDialog, and the store works on err.status and err.body.
THE ENDPOINTS ARE EXPERIMENTAL
All the check-in endpoints (POST /checkins, GET /checkins/availability and the
five follow-up action sub-resources) are marked "EXPERIMENTAL - DO NOT RELY on
this, it is subject to change!" in the spec, as we did for the ERM, ILL and
Preservation Vue app endpoints. They serve the new check-in page for now, and
their shape may still change during the next cycle.
FIXED IN THIS ROUND
Backend:
1. Waiting holds with a cancellation request are cancelled before the return,
as returns.pl did (after the 412 gate).
2. Blocked check-ins (withdrawn, lost, wrong branch) still answer 403, but
AddReturn is called, as returns.pl did: the check-in, the local use, the date
last seen and the location and not for loan updates are recorded. The 403
carries the checkin_id.
3. After cancelling a hold, legacy computed the next hold but its template
never displayed it (diffbranch is only used with hold_auto_filled), so nothing
was lost there.
4. confirm_recall checks the transferbook result: when the transfer cannot be
started the recall is left unchanged, and the API answers 409
transfer_not_started with the reasons.
5. Follow-up actions are rejected with 409 item_checked_out when the item has
been checked out again, and transfers that already arrived or were cancelled
are not touched (409 transfer_finished).
6. When AddReturn cannot return the item (DataCorrupted), POST /checkins
answers 500 checkin_failed, skips the post-return processing, and logs the
internal error instead of returning it.
8. Library scope: see bug 24401.
9. The waiting holds notice counts the holds at the check-in library (this also
fixes a crash without a logged in user, e.g. automatic check-ins).
verify_bundle runs in a transaction. All the 400s of the sub-resources have an
error_code, and the tests assert them.
Front end:
11. The store identifies rows by key, not by position, so a scan during a
confirmation cannot overwrite another row.
12. Rows that need attention are never trimmed from the table.
13. The transfer prompt no longer closes on clicks elsewhere on the page: a
stray click cannot cancel or confirm the transfer. It closes with its buttons
or Escape. (A backdrop is not used, as the page is designed to keep scanning
while a prompt is open.)
14. "Remove from bundle" goes through the API client, with the CSRF token.
15. The header "Check in" box and the ILL "Check-in" action post the barcode to
checkin.pl again (op=cud-checkin, with the CSRF token), and the page checks the
item in, as with returns.pl. A GET with a barcode still only prefills it.
16. Follow-up actions and confirmations cannot be sent twice. API errors are
shown in the page, translated, instead of "Network error" or raw English; a 401
asks to log in again.
17. A duplicate scan is reported. Cancelling the bundle verification works as
"No, don't check in" and the next pending item is shown.
18. Labels on the barcode and return date inputs and the settings toggle,
aria-labelledby on the modals, the duplicate access key, "n of m verified" as a
single string, and the bundle message no longer mixes HTML into the
translatable string.
19. Cypress: tests for the 412 confirmation flow (accepted and declined) and
for the header search box check-in. The spec now passes on current main
(16/16).
FOLLOW-UPS
I am committed to working on these next cycle. They are filed and linked here,
and none of them loses data or opens a permission gap:
- Bug 44075: export buttons and column visibility for the checked-in items
table (a regression from returns.pl)
- Bug 44076: announce the check-in results and manage focus in the modals
(accessibility)
- Bug 44077: remaining translatable strings built with HTML and String.replace
- Bug 44078: Cypress coverage for bundles, API errors and concurrent scans
- Bug 44079: make the check-in and its post-return processing atomic (point 7;
legacy was not atomic either)
- Bug 44080: purpose binding (typ/aud) for Koha::Token JWTs
- Bug 44081: notification_summary embed follow-ups (bug 43486)
- Bug 44082: backfill accountlines.checkin_id (bug 42425)
- Bug 44083: PUT /return_claims/{claim_id}/resolve trusts resolved_by (point
10, not part of this bug)
- Bug 44084: validate the hold cancellation reason,
Koha::Module::Policy::Checkin library context (point 9)
Release notes: the check-in page is now circ/checkin.pl, with body id
circ_checkin instead of circ_returns. IntranetUserCSS/IntranetUserJS
customizations and custom AudioAlerts selectors that target the legacy page
need updating (the default AudioAlerts selectors keep working). Staff can keep
scanning while a hold, transfer or recall prompt is open: the item waits as a
highlighted row.
Testing done on current main: the Perl tests of the chain (Circulation.t,
Koha/Checkin.t, Koha/Account.t, api/v1/checkins.t and the others in the test
plans), xt/api.t and the template xt tests, koha-qa.pl, and the Cypress spec.
Back to Signed Off.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to