User rriemann reported a critical bug in Discourse version v1.5.0.beta7 +48 where accidentally entering the same category twice in the default watch list prevented new account creation due to a PG::UniqueViolation database error. rriemann resolved the immediate issue by manually removing the duplicate entry but noted that the system should prevent saving duplicate categories in the first place. codinghorror inquired about the version, noting that a unique table index fix had been deployed recently, while sam agreed that better guards against this buggy site setting were necessary. codinghorror requested a client-side check for duplicates be added to the task list. However, techAPJ could not reproduce the issue, demonstrating that the UI correctly prevented selecting the same category twice. Upon further investigation, rriemann concluded that the error was likely a leftover from a previous version, as the issue could not be reproduced in the current version with categories like “A Announcements” and “B Announcements”. The thread concluded with the understanding that the problem was resolved by the version update.
I had category names like “A Announcements” and “B Announcements”. With the
Discourse version I stated above, I cannot reproduce this either. It must have
been a left over from a previous version, I guess. Now, the error message can
be googled with a solution, it should be fine.