[Koha-bugs] [Bug 10483] New: check_uniqueness.pl does not work

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 17 16:54:22 CEST 2013


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

            Bug ID: 10483
           Summary: check_uniqueness.pl does not work
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Acquisitions
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: fridolyn.somers at biblibre.com

When syspref "UniqueItemFields" is defined, the item uniqueness is tested in
acquisition by an Ajax call to check_uniqueness.pl.
I noticed that it does not work, item is always created without alert even on
existing barcode.

I have looked in perl debug mode and found that in check_uniqueness.pl :
    my $input = new CGI;
    my @field = $input->param('field');
    my @value = $input->param('value');
@field and @value are always empty.
It is because in CGI the params are named "field[]" and "value[]".
It seems to be because of the ajax serialization of a Javascript Array.

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