[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 13:22:53 CEST 2021


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

--- Comment #4 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #3)
> (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?

My feeling is we've been too loose on how we handle this. I don't think we
should go full 'blow it all' for bad attributes, but we should at least report
back.

I have plans to work on enhancing patron import on the next cycle, and I will
add more fine grained control on what's going on, there.

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