Open ramonbakker opened 2 years ago
@ramonbakker Thx you for creating this issue. That is really strange the handler is very simple it just call the document publish method: https://github.com/sulu/SuluAutomationBundle/blob/2.x/Handler/DocumentPublishHandler.php
Cach eissue sounds strange, maybe we need to call the service resetter after every task. Do you use multiple languages and the page was published in multiple languages?
Thanks for your reaction. I use multiple languages and I tested this bundle on pages that are published in a single language, as well as in multiple languages. The problem seems to occur in both situations.
Thx for the feedback.
@wachterjohannes do you know what could go wrong here?
Actual Behavior
After saving a page as a draft, I create an automation. When the automation has been executed, the page is published according to the activity log and I can see the changes on the website. The problem is that the 'Save' button is not disabled when I go to the page in Sulu, only when I clear the APCu cache by restarting the Sulu Docker container. The first two options in the dropdown of the 'Save' button are inactive, but the third one with the 'Publish' text, isn't.
Expected Behavior
I expect that the 'Save' button becomes disabled after a page has been published by an automation.
Steps to Reproduce
Described in Actual Behavior.