snoopdave opened a new pull request, #399: URL: https://github.com/apache/roller/pull/399
Greg Huber found on 6.1.8 RC3 that registering a new user fails with a duplicate key on `bootstrap.completed` (dev@, 2026-11-26). The same code is in 6.1.6 and 6.1.7. - Only the first administrator's registration records that setup is done; later registrations leave the setting alone, so they no longer fail. - Recording it updates an existing row instead of inserting a second one, in `Register` and in `BootstrapSecurity.completeIfInstalled`. - Tests: a Derby test records it twice, and unit tests cover the first and later registrations and an existing marker. The new tests fail without the fix. Full suite on JDK 11: 890 tests, 0 failures, 1 skipped. Master has the same line in `Register`; I'll port it after review. -- 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]
