Describe the bug
When clicking the "Generate new ID" in the CP (when having pages with duplicate IDs), Statamic only updates/regenerates the id for the main locale. The other locales keep their old id, resulting in strange behavior when trying to edit the localized content of such a page afterward.
To Reproduce
Steps to reproduce the behavior:
Create a statamic site with 2 ore more locales
Create a page with localized content
Manually duplicate that pages (in the filesystem)
In the CP, go to "Duplicate IDs" and click "Generate new ID" for one of the pages
Look at the page files on the file system, you should see that only the main locale file of that page has a new ID. The localized files have still the old ID
Expected behavior
Clicking the "Generate new ID" button in the CP should also assign all localized versions of the page the new ID.
Environment details (please complete the following information):
Describe the bug When clicking the "Generate new ID" in the CP (when having pages with duplicate IDs), Statamic only updates/regenerates the id for the main locale. The other locales keep their old id, resulting in strange behavior when trying to edit the localized content of such a page afterward.
To Reproduce Steps to reproduce the behavior:
Expected behavior Clicking the "Generate new ID" button in the CP should also assign all localized versions of the page the new ID.
Environment details (please complete the following information):