mraible opened a new pull request, #278: URL: https://github.com/apache/roller/pull/278
Port of #247 (Greg's fix, merged on roller-6.1.x) to master. When a weblog is deleted, `removeWeblog` now clears `site.frontpage.weblog.handle` if it still names that weblog, using `compareAndSetProperty`. Before, `/` kept forwarding to the deleted weblog until an admin picked another one; now it shows the welcome page, where a global admin can choose a new front page. - The change applies cleanly; master already has `FrontpageSettings` and `compareAndSetProperty`. - `WeblogTest` checks that deleting another weblog leaves the setting alone and deleting the front page weblog clears it. It fails without the fix. - I also checked the 6.1.x version in a running build: deleting another weblog, deleting the front page weblog, then choosing a new one, both signed in and signed out. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
