Summary: | Opac user page crash when there is an overdue fine and not any rental charge for a patron | ||
---|---|---|---|
Product: | Koha | Reporter: | Josef Moravec <josef.moravec> |
Component: | OPAC | Assignee: | Josef Moravec <josef.moravec> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | critical | ||
Priority: | P5 - low | CC: | fridolin.somers, jonathan.druart, martin.renvoize, nick, stefan.berndtsson |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Bug Depends on: | 12001 | ||
Bug Blocks: | |||
Attachments: |
Bug 20832: Fix opac user profile page when there is overdue fine and no rental charge
Bug 20832: Fix opac user profile page when there is overdue fine and no rental charge Bug 20832: Fix opac user profile page when there is overdue fine and no rental charge |
Description
Josef Moravec
2018-05-29 11:46:08 UTC
Created attachment 75624 [details] [review] Bug 20832: Fix opac user profile page when there is overdue fine and no rental charge Test plan: 0) Do not apply the patch 1) Have an overdue fine linked with specific item currently checked out to your patron 2) Do not have any unpaid rental fees 3) Go to this patron profile in opac - page opac-user.pl 4) The page crashes with "Can't call method "get_column" on an undefined value at /usr/share/koha/opac/cgi-bin/opac/opac-user.pl line 217" in log 5) Apply the patch 6) Restart plack 7) The page should working and show the right amounts for fines Created attachment 75945 [details] [review] Bug 20832: Fix opac user profile page when there is overdue fine and no rental charge Test plan: 0) Do not apply the patch 1) Have an overdue fine linked with specific item currently checked out to your patron 2) Do not have any unpaid rental fees 3) Go to this patron profile in opac - page opac-user.pl 4) The page crashes with "Can't call method "get_column" on an undefined value at /usr/share/koha/opac/cgi-bin/opac/opac-user.pl line 217" in log 5) Apply the patch 6) Restart plack 7) The page should working and show the right amounts for fines Signed-off-by: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> Silly copy/paste error caused by commit 51aa6db46c604aa202a3d8f8e5028557480efbd5 Bug 12001: Move GetMemberAccountRecords to the Koha namespace Created attachment 75969 [details] [review] Bug 20832: Fix opac user profile page when there is overdue fine and no rental charge Test plan: 0) Do not apply the patch 1) Have an overdue fine linked with specific item currently checked out to your patron 2) Do not have any unpaid rental fees 3) Go to this patron profile in opac - page opac-user.pl 4) The page crashes with "Can't call method "get_column" on an undefined value at /usr/share/koha/opac/cgi-bin/opac/opac-user.pl line 217" in log 5) Apply the patch 6) Restart plack 7) The page should working and show the right amounts for fines Signed-off-by: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> *** Bug 20914 has been marked as a duplicate of this bug. *** Awesome work all! Pushed to master for 18.11 Pushed to 18.05.x for 18.05.01 |