Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List of RequiresDependencies not updated onPostUpdate event during Save Only #5158

zeor59 opened this issue Oct 28, 2019 · 0 comments


Copy link

@zeor59 zeor59 commented Oct 28, 2019

Expected behavior

Add an image on a field of my object, click on the button "SaveOnly" and get my Asset Id in the list of Requires Dependencies of my object (into onPostUpdate event)

Actual behavior

During a "saveOnly", my Asset Id is not in the list of require dependencies of my current object (into onPostUpdate event) whereas that's working during a "Save & Publish"

Steps to reproduce

  • Upload an image on my object
  • click on the button "Save Only" or "Only Save new version"
  • Create a Log file during the postUpdate event of the following array: $object->getDependencies()->getRequires();

The id of the asset previously added should be in the list as is the case when I click on the "Save and publish" button

Thanks in advance for your support



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.