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

Workflow Publishes last Version on Submit when object is published #5726

Open
dpfaffenbauer opened this issue Feb 5, 2020 · 3 comments
Open

Workflow Publishes last Version on Submit when object is published #5726

dpfaffenbauer opened this issue Feb 5, 2020 · 3 comments

Comments

@dpfaffenbauer
Copy link
Contributor

@dpfaffenbauer dpfaffenbauer commented Feb 5, 2020

My use case is following:

An Object should only be allowed to change when in a specific state. That all is possible with the Workflow and an OBJECT_PRE_SEND Event to remove the save permission. But: as soon as I trigger the review transition, Pimcore internally calls the save method:

https://github.com/pimcore/pimcore/blob/master/lib/Workflow/Manager.php#L248

That causes the current version to be published. I cannot unpublish the object first, cause it should also be available in other places.

It should be configurable if it should just create a new version or "publish" the changes immediately

@MVermue

This comment has been minimized.

Copy link
Contributor

@MVermue MVermue commented Feb 7, 2020

I'm also running into this issue

@nielvrom

This comment has been minimized.

Copy link

@nielvrom nielvrom commented Feb 13, 2020

Also experiencing this issue, what's the status of this problem?

@dpfaffenbauer

This comment has been minimized.

Copy link
Contributor Author

@dpfaffenbauer dpfaffenbauer commented Feb 13, 2020

@nielvrom nothing....

@brusch brusch added the Improvement label Feb 17, 2020
@brusch brusch added this to To do in #79 | 17/02/2020 - 28/02/2020 via automation Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.