Hi Andi, The updating of the site to use cleanurls is only meant for switching a site from normal to clean urls but not for updating a site already on cleanurls once the site is all set up and in production.
If you need to avoid this problem while testing / setting up a site then you could adjust the following line at: https://git.mahara.org/mahara/mahara/-/blob/master/htdocs/admin/extensions/cleanurls.php#L261 From WHERE v.id > ? AND v.type = 'portfolio' to WHERE v.id > ? AND v.type = 'portfolio' AND v.urlid IS NULL So that it only updates the pages not already set with a clean url string Cheers Robert ** Changed in: mahara Status: New => Won't Fix -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: mahara-contributors https://bugs.launchpad.net/bugs/1932989 Title: URL Path changes after cleanURL update Status in Mahara: Won't Fix Bug description: When entering a custom URL /view/editlayout?id=10 which is different from the Title of that page then it with every update of the cleanURLs also that custom URL has to be recreated. It does not get kept and saved! i.e. Resume, CV - My Long Long Name | Settings after an cleanURL: update the custom URL: resume-cv-my-long-long-name gets created That is Not at all appreciated if you entered in the field for the custom URL a shorter URL i.e. resume If you enter the name resume everything is fine and you can call the page by entering "resume" instead of that long "resume-cv-my-long- long-name" BUT if for any reasons the cleanURL gets updated it will until now in all cases recreate the long URL Mahara 21.04 To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1932989/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

