[Koha-bugs] [Bug 10739] New: Template caching produces software errors when using templates in batch mode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 16 09:10:39 CEST 2013


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

            Bug ID: 10739
           Summary: Template caching produces software errors when using
                    templates in batch mode
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Notices
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: sophie.meynieux at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

This bug was introduced by Bug 7511

When templates are used without GUI, the use of <template_cache_dir> in
KOHA_CONF generate some software errors.

For example : 
- add <template_cache_dir>/tmp</template_cache_dir> in your KOHA_CONF file
- returns a book that a borrower has reserved. Make sure this borrower has not
activated email or sms notification so that a print notice wil be created
- run misc/cronjobs/gather_print_notices.pl <directory>

You've got some software errors : 
koha at sophie-Latitude-E5420:~/versions/community34/misc/cronjobs$
./gather_print_notices.pl /tmp
Use of uninitialized value in hash element at
/home/koha/versions/community34/C4/Languages.pm line 322.
Use of uninitialized value in hash element at
/home/koha/versions/community34/C4/Languages.pm line 323.
Use of uninitialized value in string eq at
/home/koha/versions/community34/C4/Languages.pm line 332.
Use of uninitialized value in string eq at
/home/koha/versions/community34/C4/Languages.pm line 332.
Use of uninitialized value in string eq at
/home/koha/versions/community34/C4/Languages.pm line 332.

If you <remove template_cache_dir> from your KOKA_CONF_FILE, and redo the test,
the notice is correctly printed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list