[Koha-bugs] [Bug 3171] New: Problem due to internationalization in label-create-template.tmpl in de-DE and possibly others

bugzilla-daemon at liblime.com bugzilla-daemon at liblime.com
Wed Apr 29 08:44:11 CEST 2009


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3171

           Summary: Problem due to internationalization in label-create-
                    template.tmpl in de-DE and possibly others
           Product: Koha
           Version: rel_3_0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Label printing
        AssignedTo: mason.james at liblime.com
        ReportedBy: ulli.brennenstuhl at fs.ei.tum.de
   Estimated Hours: 0.0


If the form is submitted the operation parameter passed in the query is
currently directly tied to the submit button in the form  ( <input
type="submit" name="op" value="Anlegen"> )

Because of the translations this leads to the following error, as the
cgi-script expects op=Create: 
Can't call method "output" on an undefined value at
/usr/share/koha/intranet/cgi-bin/labels/label-create-template.pl line 103,
<DATA> line 275.

Solution:
Change the submit line to:
<input type="submit" name="submit" value="Anlegen">
and add following line
<input type="hidden" name="op" value="create">

This is the case for de-DE and from looking at the file the same problem should
occur with the fr-FR version, but I did not investigate on the other
translations

Regards,
Ulli Brennenstuhl


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list