-
-
Notifications
You must be signed in to change notification settings - Fork 270
Open
Labels
Keyword: Has BountyDonor has reached out to us and funded this specificallyDonor has reached out to us and funded this specificallyType: Bug
Milestone
Description
I have a Pod (let's call it 'main') which has a related field to an extended Media Pod.
After saving the 'main' pod, I use the pods_api_post_save_pod_item_{podname}
action to do some validation, and potentially delete the related media item.
It seems that after deleting the related media item when in pods_api_post_save_pod_item_{podname}
action, subsequent calls to pods->display()
or pods->field()
which used to link to the 'now deleted' media object still returns the same payload, instead, it should now be returning empty (because the related media is gone).
I wonder if it's caching, we found and fixed a similar issue here but not specific to extended Media objects) - #3917
Metadata
Metadata
Assignees
Labels
Keyword: Has BountyDonor has reached out to us and funded this specificallyDonor has reached out to us and funded this specificallyType: Bug