-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Cache-Storage: make sure a '.post' event will be triggered #6259
Cache-Storage: make sure a '.post' event will be triggered #6259
Conversation
…'.pre'-event even if the '.pre'-event was stopped (PS: '.exception'-events are specialized 'post'-events)
@marc-mabe lots of changes in conditionals - can you cover these with tests? |
@Ocramius You are right, tests are missing currently but I don't have time as I'm parental leave for 3 month starting this weekend :) So sorry for the tests :( - If someone runs into this issue please feel free to use this work, add missing tests and create a new PR. Changes explained: Event flow on read/write items without a stopped event
Current event flow on read/write items with a stopped event
As you can see the Updated/Fixed event flow on read/write items with a stopped event
Now (after this PR) the |
I guess I have to congratulate you :-) |
@marc-mabe I saw you lurking on php internals, are you back from your leave? Am I allowed to bug you here? :D |
@Ocramius First thanks for your congratulation! My parental leave ends on end of august but I'm back from travel ;) I hope I can add the missing tests until end of next week. (Coding is a bit different than reading mails with a baby) |
Then let's wait till then, no? :) |
…che_event_post_after_pre
@Ocramius unit tests are available now !!! |
…e-triggered' into develop Close #6259
Manually merged at 1e070d5 Thanks @marc-mabe! Also note that I merged this only in 2.4, as it is a too risky change for 2.3.4 |
…t-after-pre-should-always-be-triggered' into develop Close zendframework/zendframework#6259
... after the '.pre'-event even if the '.pre'-event was stopped
PS: '.exception'-events are specialized '.post'-events