https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40476 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@gmail.com, | |martin.renvoize@openfifth.c | |o.uk --- Comment #7 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to David Cook from comment #6)
(In reply to Marcel de Rooy from comment #4)
What about existing item type codes? Or importing them?
They'll still be problems.
We could possibly try to add some more backend validation and throw errors for invalid item types, but I even that could be bypassed by people inserting directly into the database with migration scripts, so I'm not sure how effective that would be in the end either.
Fixing these problems is quite annoying as well, because you have to update the database and then reindex all affected records, which on a large database can be quite time intensive at the very least.
I don't have any good answers on this one I think. For now, I thought we could add the client-side validation to try steering things in a better direction. But I'm open to ideas.
I dont have a strong argument to block this patch. But just being a bit hesitant since it feels doing half the work needed. And we have so much of these things already in Koha. Asking hereby for feedback from others. -- You are receiving this mail because: You are watching all bug changes.