[Koha-bugs] [Bug 34276] upgrading 23.05 to 23.05.002

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 27 10:09:39 CEST 2023


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

--- Comment #18 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Pedro Amorim from comment #15)
> (In reply to Jonathan Druart from comment #14)
> > Tomas, Pedro, can you take care of this one please?
> 
> I'd love to, but I'm not sure where to go from here! I'm unable to reproduce
> this no matter what.
> The atomicupdate looks idempotent enough to me, even if we do follow-up your
> suggestion JD, "we should add a separate check for the key (one for the FK,
> one for the key)." how do we make sure this has indeed fixed the issue?

We need to test the different situations.
I would do:

if FK or key does not exist:
  if key exists:
    drop key
  if fk exists:
    drop fk
create fk

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


More information about the Koha-bugs mailing list