So it's fixed. Thanks Jonathan, again :-D

2016-04-23 3:08 GMT-03:00 Jonathan Druart <jonathan.druart@bugs.koha-community.org>:
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@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
>



--
Tomás Cohen Arazi
Theke Solutions (http://theke.io)
✆ +54 9351 3513384
GPG: B2F3C15F