Resolved #3124 where installing Structure did not properly populate records for existing Pages #3731
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolved #3124 where installing Structure did not properly populate records for existing Pages
Before this change, the existing pages all were added as Listings. Which I think is not correct.
Now they are added as Pages.
One this that I noticed is that if you have Pages URI set as
some/thing
in Structure it will become justthing
(the existing routes would work though until that is re-saved). I don't think we can reliably set parent ID here because in Pages you can have parts of URI names as anything, while in Structure bothsome
andthing
need to be URIs of existing entries. Also this seems to be pre-existing issue.Since this is major change in data structure, we need to make sure to test in on site with very complex usage of Pages and see if nothing gets broken (thinking mostly existing routes, but also the CP)