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

Paul Poulain <paul.poul...@biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |cnighswon...@foundations.ed
                   |                            |u,
                   |                            |paul.poul...@biblibre.com
           Assignee|cnighswon...@foundations.ed |paul.poul...@biblibre.com
                   |u                           |

--- Comment #1 from Paul Poulain <paul.poul...@biblibre.com> ---
Chris_n => THIS IS FOR YOU !

I think I've understood why the problem occurs:
the $layout_id variable is set to 5001 on my setup. And 5001 is the Unix port
where I run Plack. 
WTH is this value stored in this variable ? 
Because of 
my $layout_id = $cgi->param('layout_id') || $cgi->param('element_id') ||
$ARGV[1] || '';
in label-edit-layout.pl

Removing $ARGV[1] solves the problem

Why is the ARGV[1] here, I have no idea. Is this script sometimes run from
commandline ? I don't think so.

This ||ARGV[1] has been added by chris_n in the commit :
12663796ca87cf87f89fd1ba1f2949ec33b76b85

Auteur: Chris Nighswonger <cnighswon...@foundations.edu>  2009-07-20 19:24:49
    [8/40] Adding new layout management page

    This moves the layouts off of the labels tool start page to bring it into
    conformity with the other parts of this tool.


assigning bug to me, and adding chris_n in cc:

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to