[Bug 5611] New: can't add comments and tags in the OPAC when mod_perl is activated
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5611 Summary: can't add comments and tags in the OPAC when mod_perl is activated Change sponsored?: --- Product: Koha Version: rel_3_2 Platform: All OS/Version: All Status: NEW Severity: blocker Priority: P5 Component: OPAC Comments AssignedTo: gmcharlt@gmail.com ReportedBy: brice.sanchez@sys-tech.net QAContact: koha-bugs@lists.koha-community.org Estimated Hours: 0.0 Created attachment 2979 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=2979 patch for C4::Scrubber.pm Our Koha 3.2.2 is connected to the community Git and we are using mod_perl (in the OPAC only - amazing performances ^^). We aren't able to add comments or tags in the page : .../cgi-bin/koha/opac-detail.pl?biblionumber=XXX When we submit a tag or a comment, firebug return : <h1>Software error:</h1> <pre>New called with unrecognized type 'default' at /home/koha/kohagit/opac/opac-tags.pl line 131 </pre> <p> For help, please send mail to the webmaster (<a href="mailto:sysadmins@sys-tech.net">sysadmins@sys-tech.net</a>), giving this error message and the time and date of the error. </p> After verification, we saw that C4::Scrubber.pm is the problem... See the patch to understand our modification. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5611 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |colin.campbell@ptfs-europe. | |com --- Comment #1 from Colin Campbell <colin.campbell@ptfs-europe.com> 2011-01-12 16:18:08 UTC --- Cause of the problem is that mod_perl executes one global INIT block on start up so the individual INITs like this are not used. There was no reason to use one here in the first place. Will add a commit message to Bryce's change in signoff and send a supplementary to tidy up the unused package variables. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5611 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |PATCH-Sent Version|rel_3_2 |HEAD Patch Status|--- |Signed Off --- Comment #2 from Colin Campbell <colin.campbell@ptfs-europe.com> 2011-01-12 16:56:00 UTC --- Signed off patch and sent supplemental clean up and test -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5611 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris@bigballofwax.co.nz Patch Status|Signed Off |Patch Pushed --- Comment #3 from Chris Cormack <chris@bigballofwax.co.nz> 2011-01-12 17:54:31 UTC --- Pushed, please test -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5611 --- Comment #4 from MJ Ray (software.coop) <mjr@ttllp.co.uk> 2011-02-01 09:20:27 UTC --- This bug is mentioned in: Bug 5611 INIT block causes failure with mod perl http://lists.koha-community.org/pipermail/koha-patches/2011-January/013588.h... Bug 5611 Tidy up C4::Scrubber http://lists.koha-community.org/pipermail/koha-patches/2011-January/013589.h... -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5611 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|gmcharlt@gmail.com |brice.sanchez@sys-tech.net -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5611 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |julian.maurice@biblibre.com Resolution| |FIXED -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5611 Galen Charlton <gmcharlt@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|OPAC Comments |OPAC -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5611 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org