[Koha-bugs] [Bug 6030] Allow for html in letters in overdue notices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 9 17:57:02 CEST 2011


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

Paul Poulain <paul.poulain at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paul.poulain at biblibre.com
       Patch Status|Signed Off                  |Failed QA

--- Comment #3 from Paul Poulain <paul.poulain at biblibre.com> 2011-08-09 15:57:02 UTC ---
doing some tests, I get:
17:47 ~/koha.dev/koha-community (BZ6030 $%)$ misc/cronjobs/overdue_notices.pl
--html=test-html
Global symbol "$columns_def_hashref" requires explicit package name at
misc/cronjobs/overdue_notices.pl line 486.
Execution of misc/cronjobs/overdue_notices.pl aborted due to compilation
errors.


Digging into biblibre/master, I see this script has more lines :

my $columns_def_hashref = C4::Reports::Guided::_get_column_defs();

foreach my $key ( keys %$columns_def_hashref ) {
    my $initkey = $key;
    $key =~ s/[^\.]*\.//;
   
$columns_def_hashref->{$initkey}=NormalizeString($columns_def_hashref->{$initkey});
    $columns_def_hashref->{$initkey}=~s# #<br/>#;
    $columns_def_hashref->{$key} = $columns_def_hashref->{$initkey};
}

I think adding them will result in the script working, but without this, it
can't work.

Nicole = what kind of tests did you do ?

-- 
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.


More information about the Koha-bugs mailing list