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

Cannot publish Shadowpages with automation bundle #7292

Open
popoplanter opened this issue Feb 22, 2024 · 0 comments
Open

Cannot publish Shadowpages with automation bundle #7292

popoplanter opened this issue Feb 22, 2024 · 0 comments
Assignees
Labels
Bug Error or unexpected behavior of already existing functionality

Comments

@popoplanter
Copy link
Contributor

Q A
2.5.10
8.1
8.2.0
Browser Version

Actual Behavior

I Tested in 2 separate projects to publish shadow pages with the automation bundle. It does not matter if the page has been published before either as a shadow page or as a normal content page. It does not matter if the automation is created while published, unpublished, while as a normal content page or as a shadow page. An unpublished shadow page can not be published with an automation.

The error is:
Document cannot be a shadow of itself for locale "<root page here>" in vendor/sulu/sulu/src/Sulu/Component/Content/Document/Subscriber/ShadowLocaleSubscriber.php:234

Expected Behavior

Let me publish that shadow page with the automation bundle :D.

Steps to Reproduce

Create root page
Create Shadow page
Create automation to publish
run bin/console task:run
Be sad :(

@popoplanter popoplanter added the Bug Error or unexpected behavior of already existing functionality label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Error or unexpected behavior of already existing functionality
Projects
None yet
Development

No branches or pull requests

3 participants