netgen / ezpublish-kernel

eZ Publish API and kernel. This is the heart of eZ Publish 5. This is a v2014.11 kernel, maintained for bugfixes by Netgen.
https://netgen.io
Other
8 stars 18 forks source link

Fix EZP-25089: Clear persistence cache on object state assignment #41

Closed peterkeung closed 8 years ago

peterkeung commented 8 years ago

https://jira.ez.no/browse/EZP-25089

Before this patch, you would end up in a scenario where an object state was changed from being not available to available but the front-end would crash with an error related to the old state.

Needs to be combined with ezsystems/ezpublish-legacy#1257

This is the same as https://github.com/ezsystems/LegacyBridge/pull/61

peterkeung commented 8 years ago

Attribution added to @andrerom

peterkeung commented 8 years ago

Ping @thiagocamposviana who originally discovered the bug with me

emodric commented 8 years ago

Thanks @peterkeung ! Sorry for the late reply, things were a bit hectic with summercamp and all.

Can you just make sure that coding standards match the rest of the file (i.e. using old eZ Publish standards and I'll merge.

peterkeung commented 8 years ago

Code style updated!

emodric commented 8 years ago

Thanks @peterkeung!