[Koha-devel] Frameworks / DB constraints

Tomas Cohen Arazi tomascohen at gmail.com
Wed Apr 27 16:50:50 CEST 2016


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

2016-04-23 3:08 GMT-03:00 Jonathan Druart <
jonathan.druart at 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 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/
> _______________________________________________
> 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/
>



-- 
Tomás Cohen Arazi
Theke Solutions (http://theke.io)
✆ +54 9351 3513384
GPG: B2F3C15F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20160427/f93139f1/attachment.html>


More information about the Koha-devel mailing list