[Koha-bugs] [Bug 1963] Problem with deleted biblio in a virtual shelf

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 12 23:20:13 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=1963

--- Comment #5 from Paul Poulain <paul.poulain at biblibre.com> ---
mmm... before pushing, I had a doubt and checked kohastructure. The constraint
already exists.

  CONSTRAINT `shelfcontents_ibfk_2` FOREIGN KEY (`biblionumber`) REFERENCES
`biblio` (`biblionumber`) ON DELETE CASCADE ON UPDATE CASCADE,


So, Frederic, this case should not happen. Could you check your structure, and
do you have an explanation.

The constraint has been added by commit
d6f8fde9 installer/data/mysql/kohastructure.sql (Marcel de Rooy      
2011-12-08 16:10:57 +0100 2128)   CONSTRAINT `shel

is it possible that your database has been created before and the
updatedatabase failed (because of invalid data) ?

(not pushing this patch for now, needs a little bit more investigation)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list