What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Is it correct that you can only unpublish but not delete CMS pages and blocks in the Zed UI?
Comments
-
True.
0 -
There is a facade method for deletion though in the code.
0 -
Thanks for the answer. π
0 -
But the method is broken a bit in the latest versions. It's known already and will be fixed.
0 -
The fix is just to add the cascade on delete.
<foreign-key name="spy_cms_page_store-fk_cms_page" foreignTable="spy_cms_page" onDelete="CASCADE"/>
I would make a pull request easily but as far as I know you won't accept any from contrib...0 -
Not that we won't but we can't just merge a PR directly into the module as modules are being released by our release bot. But you can create a PR of course. This only means that I'll need to create an internal ticket out of it to follow our development\release process.
0 -
Oh okay cool. So against those single repos in this case
spryker/cms
?0 -
Seems so.
0 -
-
Thanks, I will process it. π
0 -
Ok, our CMS techlead says that this isn't enough and this would be major in this case.
0 -
So we will fix it in other way and I will close this PR...
0 -
That is sad to hear. I really need to delete CMS Pages and it currently works with that added. If there is another problem inside of the API better said the PageRemover() class it is currently not affecting me.
0 -
And about the pull request. You will have to add this anyways or the deletion cascade will not work...
0 -
Hi @UK9N7MP96, can you pls connect us with the techlead mentioned so that we can see what the major problem is and if/how can contribute . We need this to get our CMS integration to work properly. Thanks in advance.
0 -
-
Hi guys, this bugfix is currently in progress. Do you want to know the direction we gonna use earlier?
0 -
Hi Stanislav, thanks for you quick answer. Do you have a rought estimation when you expect the fix to be available?
0 -
most possible next week
0 -
very nice π
0 -
-
Thanks for keeping us up to date
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random