[Koha-devel] Frameworks / DB constraints

Jonathan Druart jonathan.druart at bugs.koha-community.org
Sat Apr 23 08:08:41 CEST 2016


Just a note: From 16.05 it won't be possible to delete a framework in
used from the interface.
See bug 15790.

2016-04-19 15:34 GMT+01:00 Tomas Cohen Arazi <tomascohen at gmail.com>:
> Hi fellows, I noticed (in a production server) that a cataloguing framework
> was deleted by a user. This raised a problem with records that used that
> framework: trying to look at the record's detail page ended up in a fatal
> error.
>
> Currently, the framework code is not a FK, so we don't enforce it at DB
> level. A possible solution is to just add it as a FK, another option would
> be to fallback to the default framework in the relevant function. Jesse
> proposed on IRC creating the foreign key with ON DELETE SET NULL.
>
> We need to fix this, so: ideas? preferences? vote?
>
> --
> Tomás Cohen Arazi
> Theke Solutions (http://theke.io)
> ✆ +54 9351 3513384
> GPG: B2F3C15F
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/


More information about the Koha-devel mailing list