Bug 3171 - Problem due to internationalization in label-create-template.tmpl in de-DE and possibly others
Summary: Problem due to internationalization in label-create-template.tmpl in de-DE an...
Status: CLOSED WONTFIX
Alias: None
Product: Koha
Classification: Unclassified
Component: Label/patron card printing (show other bugs)
Version: rel_3_0
Hardware: All All
: P5 - low normal (vote)
Assignee: Chris Nighswonger
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-29 06:44 UTC by Chris Cormack
Modified: 2022-10-07 15:29 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cormack 2010-05-21 01:07:17 UTC


---- Reported by ulli.brennenstuhl@fs.ei.tum.de 2009-04-29 06:44:11 ----

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



---- Additional Comments From cnighswonger@foundations.edu 2010-02-05 03:14:44 ----

Note: this issue is resolved in 3.2 alpha and in the current HEAD. Unfortunately, due to drastic changes in the labels code, these changes cannot be back ported to the 3.0.x versions.



--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:07 UTC  ---

This bug was previously known as _bug_ 3171 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3171

Actual time not defined. Setting to 0.0
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here: chris@bigballofwax.co.nz.
   Previous reporter was ulli.brennenstuhl@fs.ei.tum.de.