Bug 8197

Summary: Software error when you have cleaned cookies in your browser and try to past the url to opac-topissues.pl
Product: Koha Reporter: Christophe Croullebois <christophe.croullebois>
Component: OPACAssignee: Martin Renvoize <martin.renvoize>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P5 - low CC: chris, paul.poulain
Version: 3.8   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10175
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: patch
Bug8197:Software error when you have cleaned cookie

Description Christophe Croullebois 2012-06-06 13:02:07 UTC
To test :
for Opera ie :Settings/Delete Private Data/Detailed options => Delete sessions cookies
Paste in your browser : ...cgi-bin/koha/opac-topissues.pl
Without patch you'll have : 
Can't use an undefined value as a HASH reference at ...community/opac/opac-topissues.pl line 133. For help, please send mail to the webmaster.....
This coding error must be tracked in all koha and corrected.
I'll report that fact in an other bug.
For this one it just corrects for opac-topissues.pl page.
Comment 1 Christophe Croullebois 2012-06-06 13:49:33 UTC Comment hidden (obsolete)
Comment 2 Martin Renvoize 2012-06-09 10:21:02 UTC
Created attachment 10001 [details] [review]
Bug8197:Software error when you have cleaned cookie

Error verified as present in master.

Patch tested and working in both Firefox and Chrome.
Comment 3 Paul Poulain 2012-06-10 09:20:58 UTC
QA comment: tiny patch that fixes an obvious problem in the best possible way, passes QA
Comment 4 Chris Cormack 2012-06-10 14:43:18 UTC
Pushed to 3.8.x, will be in 3.8.2