mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-16 04:08:34 +03:00
fb79f24316
no issue - if multiple queries run in a transaction, the model events are triggered before the txn finished - if the txn rolls back, the events are anyway emitted - the events are triggered too early - solution: - `emitChange` needs to detect that a transaction is happening - it listens on a txn event to determine if events should be triggered |
||
---|---|---|
.. | ||
api | ||
data/importer/importers | ||
model | ||
export_spec.js | ||
migration_spec.js | ||
site_spec.js | ||
update_check_spec.js |