when trying to edit items you get the following: Bareword "C4::Search::enabled_staff_search_views" not allowed while "strict subs" in use at /home/nengard/kohaclone/cataloguing/additem.pl line 715. Bareword "C4::Search::enabled_staff_search_views" not allowed while "strict subs" in use at /home/nengard/kohaclone/cataloguing/additem.pl line 485. Execution of /home/nengard/kohaclone/cataloguing/additem.pl aborted due to compilation errors.
Created attachment 7663 [details] [review] Bug 7545: Can't edit items This patch makes it so that you can click 'edit items' and actually edit items.
Created attachment 7664 [details] [review] [Signed Off] Bug 7545: Can't edit items This patch makes it so that you can click 'edit items' and actually edit items. Signed-off-by: Liz Rea <wizzyrea@gmail.com> Works as advertised. Signed-off-by: Liz Rea <wizzyrea@gmail.com>
I don't have this error whitout this patch. My perl version is v5.14.2
This was on master pulled as of yesterday (15-2-12). I was able to replicate.
Re-enables lost dependency on C4::Search in additems.pl. Marking as Passed QA
The problem was a consequence of de-nesting bug. Removing use C4::Search from C4::Heading resulted in C4::Search not being loaded at all on additem.pl : additem use C4::Biblio that use C4::Heading that used C4::Search. This patch fixes the problem
Note that this bug has been pushed on new/bug_6875 branch as it can be considered as a follow-up