Ghost/core
Katharina Irrgang fb79f24316
Fixed model events and transactions (#9524)
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
2018-04-06 18:19:45 +02:00
..
client@7fa52be861 Updated Ghost-Admin: API request without updated_by/created_by 2018-04-05 18:51:58 +02:00
server Fixed model events and transactions (#9524) 2018-04-06 18:19:45 +02:00
test Fixed model events and transactions (#9524) 2018-04-06 18:19:45 +02:00
index.js