Hello,
I found out today, that there seems to be a limitation on the "automatic" renaming of the page-name when using more than 99 pages with the same title under the same parent. e.g. creating a page with title "Test" 99 times (and have processwire setting its name to test-1, test-2 and so on) works fine.
However the 100th pages, is then not created properly anymore.
(Although there is a message "Created page /pwtest/test-100 using template: basic-page")
Instead of actually creating it, it sents me to "Admin> Pages> Page Edit> Bookmarks", and the page 100 was not really created (can't find it in the tree and also not via API)
A quick test via API (to create more than the 100th page) worked fine btw!
for($i=0;$i<150;$i++) {
$clone = $pages->clone($page, $page->parent, false);
$clone->save();
}
But in the backend, it is still
- saying that it created page-100
- NOT creating a new page!
- NOT showing the edit-page but the bookmarks instead!
Any hints on how to fix this manually (I'd guess there is hook available where I could change the naming)?
Is there a chance that it will be changed (fixed?) in 2.7.3?
Thanks a lot,
Sebii
Edit: Also tested with a new local installation of PW 2.7.2.