Bug 29346: Highlight double enqueue
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 11 Apr 2022 16:20:11 +0000 (17:20 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 5 May 2022 21:17:35 +0000 (11:17 -1000)
commitad66e214bdbe26c4aad45509808eeb164546cbea
treefb4b9ea14e6ba19c504cfd9c562d02a80aacedcc
parent9a7fdade8bc3443e8e7779815878dbe235babaf3
Bug 29346: Highlight double enqueue

This patch highlights a possible issue with the triggers.. though it may
not actually matter in reality.

I appear to already see test failures before this patch with a double
enqueue of the rebuild for both AddIssue and AddReturn.. I couldn't spot
what was causing that but whilst digging I did find another case where
it could happen as highlighted here...

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Circulation_holdsqueue.t