[Koha-bugs] [Bug 4065] New: Confusing behavior of patron extended attribute entry leads to error

bugzilla-daemon at kohaorg.ec2.liblime.com bugzilla-daemon at kohaorg.ec2.liblime.com
Tue Jan 26 21:45:19 CET 2010


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

           Summary: Confusing behavior of patron extended attribute entry
                    leads to error
           Product: Koha
           Version: HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Patrons
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: oleonard at myacpl.org
   Estimated Hours: 0.0
 Change sponsored?: ---


Example sequence which might lead to the error:
 - A librarian loads the "Additional attributes and identifiers" edit screen. 
 - They choose an attribute from the drop-down, decide it's not correct.
 - They click the 'Clear' link.
 - They choose a different attribute and click save.

They will see an error:

    The following fields are wrong. Please fix them.

    * The attribute value /[attribute value] is already is use by another
patron record.

Where [attribute value] is their custom attribute value.

When the 'Clear' link is clicked, a hidden input field is cleared:

<input type="hidden" id="patron_attr_2_code" name="patron_attr_2_code"
value="school" />

If you submit the form with an empty value for that input combined with
non-empty data in the accompanying text field the error is triggered.


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