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

--- Comment #95 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 200329
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200329&action=edit
Bug 41728: (QA follow-up) Move data consistency check before blocker handling

The data inconsistency die (checkout exists but patron does not) was
placed after the blocker handling block. This meant that if an item had
corrupt data AND triggered a blocker (e.g. withdrawn+blocked), the
blocker handler would return early with patron as undef instead of dying
on the inconsistency, silently masking database corruption.

Move the check to immediately after extracting context from the
availability result, before any blocker handling, matching the original
AddReturn behavior where the die fired during checkout lookup.

Signed-off-by: Tomás Cohen Arazi <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to