[Koha-bugs] [Bug 28220] Exception not caught when importing patrons with invalid attribute type

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 5 11:38:40 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28220

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |In Discussion

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
I think the exception should be caught, and the behavior the same as with any
patron with invalid (non-extended attribute) data.

--- Comment #3 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Tomás Cohen Arazi from comment #2)
> I think the exception should be caught, and the behavior the same as with
> any patron with invalid (non-extended attribute) data.

Which means?

When a new patron is imported with an invalid patron attribute we explode. When
the patron's attributes are overwritten during an import, we silently ignore
them.

Should we, 1. explode (skip the whole patron) in both case or 2. do the job but
ignore the invalid attributes?

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