The commits below date back from end of July.  Is there any additional relation 
to the Bcrypt patches pushed more recently?


Van: koha-devel-boun...@lists.koha-community.org 
[mailto:koha-devel-boun...@lists.koha-community.org] Namens Marcel de Rooy
Verzonden: donderdag 10 oktober 2013 12:17
Aan: koha-devel@lists.koha-community.org
Onderwerp: [Koha-devel] Crashes on new Opac Recent Searches cookie in older 
Koha versions

Hi,

Recently two commits were added that move the search history cookie to a new 
format.

commit 961617765ef25bde32cb050ad016f3b063661ef8  (no bug number, from Galen)
commit 488a3d6fed57b4e0d773157ee4a6ab7e4775e7a4 (no bug number, from Galen)

I have been looking for these patches on Bugzilla, but I cannot find them. 
Perhaps they are there, but I may have used the wrong search terms.

These patches have a nasty side-effect. If you use an older Koha version and 
also current master on the same system for testing, the old Koha version will 
stumble over this (shared) cookie:

            Storable binary image v45.123 more recent than I am (v2.8) at 
/usr/lib64/perl5/Storable.pm line 416, at /usr/share/koha/maintclone/C4/Auth.pm 
line 293.

So to overcome this problem,  you must delete the KohaOpacRecentSearches cookie 
AND set preference EnableOpacSearchHistory to off in the old system.
Deleting the search cookie every time, as updated by the master clone, is not 
really an option :)

Since I cannot find the bug where this development was documented, I do not 
know if this side-effect was discussed, tested etc.
But for changes like this, a question like: Can this change affect older Koha 
versions somehow? would be fine to address at the least..

Thanks,

Marcel

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to