http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8788

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8788
          Assignee: [email protected]
           Summary: Entry of an acquistion from an external source
                    triggers error log entries
          Severity: minor
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: Acquisitions
           Product: Koha

[Wed Sep 19 14:38:07 2012] [error] [client 192.168.100.2] [Wed Sep 19 14:38:07
2012] basket.pl: Use of uninitialized value $total_est_gste in sprintf at
/usr/share/koha/intranet/cgi-bin/acqui/basket.pl line 370., referer:
https://.../cgi-bin/koha/acqui/booksellers.pl
[Wed Sep 19 14:38:07 2012] [error] [client 192.168.100.2] [Wed Sep 19 14:38:07
2012] basket.pl: Use of uninitialized value $total_est_gste in sprintf at
/usr/share/koha/intranet/cgi-bin/acqui/basket.pl line 370., referer:
https://.../cgi-bin/koha/acqui/booksellers.pl
[Wed Sep 19 14:38:07 2012] [error] [client 192.168.100.2] [Wed Sep 19 14:38:07
2012] basket.pl: Use of uninitialized value $gist_est in sprintf at
/usr/share/koha/intranet/cgi-bin/acqui/basket.pl line 370., referer:
https://.../cgi-bin/koha/acqui/booksellers.pl
[Wed Sep 19 14:38:07 2012] [error] [client 192.168.100.2] [Wed Sep 19 14:38:07
2012] basket.pl: Use of uninitialized value $gist_est in sprintf at
/usr/share/koha/intranet/cgi-bin/acqui/basket.pl line 370., referer:
https://.../cgi-bin/koha/acqui/booksellers.pl
[Wed Sep 19 14:38:42 2012] [error] [client 192.168.100.2] [Wed Sep 19 14:38:42
2012] basket.pl: Use of uninitialized value $total_est_gste in sprintf at
/usr/share/koha/intranet/cgi-bin/acqui/basket.pl line 370., referer:
https://.../cgi-bin/koha/acqui/booksellers.pl
[Wed Sep 19 14:38:42 2012] [error] [client 192.168.100.2] [Wed Sep 19 14:38:42
2012] basket.pl: Use of uninitialized value $total_est_gste in sprintf at
/usr/share/koha/intranet/cgi-bin/acqui/basket.pl line 370., referer:
https://.../cgi-bin/koha/acqui/booksellers.pl
[Wed Sep 19 14:38:42 2012] [error] [client 192.168.100.2] [Wed Sep 19 14:38:42
2012] basket.pl: Use of uninitialized value $gist_est in sprintf at
/usr/share/koha/intranet/cgi-bin/acqui/basket.pl line 370., referer:
https://.../cgi-bin/koha/acqui/booksellers.pl
[Wed Sep 19 14:38:42 2012] [error] [client 192.168.100.2] [Wed Sep 19 14:38:42
2012] basket.pl: Use of uninitialized value $gist_est in sprintf at
/usr/share/koha/intranet/cgi-bin/acqui/basket.pl line 370., referer:
https://.../cgi-bin/koha/acqui/booksellers.pl


Looking at the template file: total_rrp_gste, total_est_gste, gist_rate,
gist_rrp, and gist_est are only used if GST (which is $gist) is set.

The solution I took was to move these variables to a separate
$template->param() call based on "if $gist;".

I found this bug in 3.6.3, it exists in 3.8.4 too.

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