[Koha-bugs] [Bug 26627] Print and confirming a hold can cause an infinite loop

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 6 12:18:46 CET 2020


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

Joonas Kylmälä <joonas.kylmala at helsinki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #113093|0                           |1
        is obsolete|                            |

--- Comment #13 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
Created attachment 113237
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113237&action=edit
Bug 26627: (QA follow-up) Remove only the loop causing input field

The loop reported originally happened only in this one specific form
which this commit now removes the input field from. There is no
need to remove the barcode from all the forms (even ones that don't
have it). Because the JavaScript tried to remove the barcode input
field from other forms as well we got following error when clicking
"Print slip, transfer, and confirm" for a hold that needed transfer:

Uncaught TypeError: this.form.barcode is undefined

Test plan:
1) Create biblio level hold that needs a transfer
2) Check-in the item and click "Print slip, transfer, and confirm"
3) Notice nothing happens, apply patch & restart, notice the slip will
be now printed
4) Follow the test plan from commit a71596fb39
   (Bug 26627: Print and confirming a hold can cause an infinite loop)

Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list