[Koha-bugs] [Bug 15129] Koha::object for issuing rules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 5 08:20:19 CET 2015


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

Marc Véron <veron at veron.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |veron at veron.ch

--- Comment #2 from Marc Véron <veron at veron.ch> ---
Testing with "All libraries" selected.

Test 1:
-------
- In dropdown box select a patron category that not yet has a rule
  e.g. Teacher (T)
- Fill in some fields
- Click "Save"
Result: New row with values for this category, values saved OK


Test 2:
------
- Click on "Edit" for a I want to change (at the right)
- Fill in and/or change some fields
- Save

Result for editing category from Test 1:
DBIx::Class::Row::update_or_insert(): Duplicate entry '*-T-*' for key 'PRIMARY'
at /usr/share/kohaclone/Koha/Object.pm line 109

Same error with other categories, e.g. for Juvenile (J)
DBIx::Class::Row::update_or_insert(): Duplicate entry '*-J-*' for key 'PRIMARY'
at /usr/share/kohaclone/Koha/Object.pm line 109

Same error while editing "All"
DBIx::Class::Row::update_or_insert(): Duplicate entry '*-*-*' for key 'PRIMARY'
at /usr/share/kohaclone/Koha/Object.pm line 109

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


More information about the Koha-bugs mailing list