mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 05:26:47 +00:00
2fb699189e
uploadGalleryPhotos and addPhoto read MAX(sort_order) inside the transaction that inserts, but the only gallery test ran its uploads one after another and would pass without that. These cases run several uploads, and several photos added to one entry, at once and expect consecutive positions in the gallery and on the entry, as JOURNEY-SVC-030b does for entries.