[Koha-bugs] [Bug 8002] Can't add patron attribute type in newer installation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 24 17:47:58 CEST 2012


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

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 9288
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9288&action=edit
Bug 8002 [REVISED] Can't add patron attribute type in newer installation

Correcting patron_attributes_types definition in kohastructure.sql
to allow NULL entries for category_code, matching the definition
specified in updatedatabase.pl. Adds an entry to updatedatabase.pl
to correct existing installations with the incorrect table structure.

After running the updated updatedatabase.pl the category_code
column in borrower_attribute_types should show that it allows
NULL entries. Adding a new patron attribute type with no
patron category specified should work correctly.

To test the update to kohastructure.sql: Back up your Koha
database, drop it, and recreate it. Load the staff interface
and go through the web installer. After recreating the database
enable ExtendedPatronAttributes and try adding a new patron
attribute type with no patron category specified. The operation
should be successful.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list