Posted by DaveGarland on

 

I have had a couple of issues wher a page I created gets renamed incorrectly on saving and then causes errors.

Latest example was as follows, a user reported that my page link for september 20th wasnt working.

The page should have been named  https://wemburywaves.uk/on-this-day-in-wembury-new/09-20/   but was instead incorrectly named as https://wemburywaves.uk/on-this-day-in-wembury-new/09-20-2/

 

And this caused a page not found error. 

 It was fixed by taking the page offline momentarily and then republishing it but I'm not sure why it would do this when adding new content to a previously published page.

The other occurrence was on the wembury history site where a page called resources was renamed resources-2 by the system. Again easily fixed but odd. Any ideas??

2: Re: Page update issue (response to 1)
Posted by Joe Oldak on

This definitely sounds like a bug, probably something to do with adding the image editor which affected the flow of saving CMS items.

The system will automatically add "-2" or "-3" etc to the end of a URL if it clashes with another one of the same name. e.g. if you made two pages called "Banana" it would give the first one the URL ".../banana/" and the second one ".../banana-2/". But in this case it looks like it's accidentally adding -2 when it shouldn't do.

HOWEVER, I've been unable to reproduce the problem myself when playing around with pages on my test site. Does it always happen for you, or are there particular steps that make it happen?

Thanks

Joe