[Koha-bugs] [Bug 30904] (bug 24387 follow-up) Modifying library in news (additional contents) causes inconsistencies

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 8 18:42:06 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30904

--- Comment #8 from Janusz Kaczmarek <januszop at gmail.com> ---
(In reply to Jonathan Druart from comment #7)
> (In reply to Janusz Kaczmarek from comment #3)
> > To sum up—I would suggest considering the patch OK, but probably data
> > definition introduced by you with the commit
> > 8df3116760bdf1b889dc6f78e4605e231c4d7d6d requires correction as well.  IMO,
> > UNIQUE KEY `additional_contents_uniq` (`category`,`code`,`lang`) would be
> > perfect. 
> 
> Which means you couldn't have 2 identical contents for different libraries?
> Sounds wrong to me.

Why not?  In every case you have to create them separately, which means they
would get a different additional_contents.code.  The presence or absence of
branchcode in unique key does not change anything here, IMHO.

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


More information about the Koha-bugs mailing list