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

Closed
zeor59 opened this issue Oct 28, 2019 · 2 comments
Closed

Comments

@zeor59
Copy link

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

Regards,

Benjamin

@stale
Copy link

stale bot commented Mar 15, 2022

Thanks a lot for reporting the issue. The issue was not considered by us as "Priority" or "Backlog", so we're not gonna work on that anytime soon. In case this is a bug report, please create a pull request fixing the issue, we'll then review it as soon as possible. If you're interested in contributing a feature, please contact us first here before creating a pull request, we'll then decide whether we'd accept it or not. Thanks for your understanding.

@stale stale bot added the PR Welcome label Mar 15, 2022
@fashxp
Copy link
Member

fashxp commented Dec 19, 2023

dependencies are only considering published version of object.

@fashxp fashxp closed this as completed Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants