0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00
ghost/core
Sam Lord a5484a0fe1 Fixed transaction logic in data importer
https://github.com/TryGhost/Toolbox/issues/130

The transaction no longer commits in the promise chain, which wasn't
valid logic for a transaction, since it is commited automatically when
the promise chain resolves, and rollsback automatically when the
promise chain rejects.

This makes code which fails during the transaction error in the right
place, instead of getting stuck here. (Especially good for writing
tests).

The tests for this code can now live in the integration folder.
2021-11-16 17:09:55 +00:00
..
client@7e8c8585a1 Updated Admin to v4.22.3 2021-11-15 13:43:15 +00:00
frontend Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00
server Fixed transaction logic in data importer 2021-11-16 17:09:55 +00:00
shared Changed to use different fixtures during testing 2021-11-16 14:03:42 +00:00
app.js Added Sentry to new boot process 2021-02-19 09:20:41 +00:00
boot.js Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00
bridge.js Initial card asset service implementation 2021-11-04 11:34:40 +00:00