Client Side Live Preview isn't running afterRead hooks #8730
Labels
area: core
Core Payload functionality
invalid-reproduction
status: needs-triage
Possible bug which hasn't been reproduced yet
v3
Describe the Bug
I am using AfterRead hooks to populate same data across my collections. Now I tried setting up client side live preview (because setting up versioning on existing collections was very buggy) and I stumbled across the fact that AfterRead hooks don't seem to be executed when the new data for live preview is calculated. This results in an inconsistent live preview whenever fields with afterRead hooks are edited.
Link to the code that reproduces this issue
too much work setting up a repro
Reproduction Steps
Set up live preview. Add a
afterRead
hook which changes the return value. notice how the return value doesn't change when editing the field in live preview.Which area(s) are affected? (Select all that apply)
area: core
Environment Info
The text was updated successfully, but these errors were encountered: