Parent project for Crafter CMS. Issue tracking across all repositories and global builds.
GNU General Public License v3.0
288
stars
98
forks
source link
Broken content hierarchy in published repository after publishing renamed items #6855
Open
jmendeza opened 1 month ago
Duplicates
Latest version
Describe the issue
Consider a content tree like the following (everything is published and not edited):
page1-1 is moved to page2:
Then page1 is renamed to page1-alt:
Then
page1-alt
is published. Causingpage1/page1-2
in published repository to be removed and added topage1-alt/page1-2
However,
page1/page1-1/index.xml
still exists in published repository, but without its parentpage1/index.xml
Steps to reproduce
Steps:
Create a site based on editorial
Publish all
Copy Health and Style pages and paste them into Technology
Publish both copied pages![Screenshot from 2024-05-22 17-05-43](https://github.com/craftercms/craftercms/assets/6042406/4d5409f0-4e1e-4f0e-a5e9-f0e4c319f01c)
Cut Technology > Health and paste it into Entertainment
Edit Technology: edit page url and set![Screenshot from 2024-05-22 17-08-24](https://github.com/craftercms/craftercms/assets/6042406/f21633ac-42ca-404c-a55e-98d847a92885)
technology-alt
. Update Internal Name to "Technology Alt"Publish Technology Alt and its child page
Go to published repository for the site and navigate to site/website/technology
Notice that health page exists, without its parent page (which now exists on a different location).