[Bug 19771] New: Pending offline circulation actions page will crash on unknown barcode

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 19771] New: Pending offline circulation actions page will crash on unknown barcode

bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19771

            Bug ID: 19771
           Summary: Pending offline circulation actions page will crash on
                    unknown barcode
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]
                CC: [hidden email], [hidden email]

Test plan:

Use the koct firefox plugin or a .koc file and make a return with an unknown
barcode.

Display the Pending offline circulation actions page: offline_circ/list.pl

=> The page crashes with a software error: Can't call method "biblio" on an
undefined value at /home/koha/src/offline_circ/list.pl line 50.

Apply the patch, repeat the test plan.

=> The page shows the list correctly. Click on process. The unknown barcode is
marked as Item not found.

--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://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 | Threaded
Open this post in threaded view
|

[Bug 19771] Pending offline circulation actions page will crash on unknown barcode

bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19771

--- Comment #1 from Matthias Meusburger <[hidden email]> ---
Created attachment 69610
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69610&action=edit
Bug 19771: Prevent Pending offline circulation actions page from crashing when
there is an unknown barcode

Test plan:
Use the koct firefox plugin or a .koc file and make a return with an unknown
barcode.
Display the Pending offline circulation actions page: offline_circ/list.pl
=> The page crashes with a software error: Can't call method "biblio" on an
undefined value at /home/koha/src/offline_circ/list.pl line 50.
Apply the patch, repeat the test plan.
=> The page shows the list correctly. Click on process. The unknown barcode is
marked as Item not found.

--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://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/