Group Names Should NOT be Unique #7
Labels
No Label
client
server
user made
L
M
S
XL
bug
bugfix
discussion
documentation
feature
maintenance
postponed
refactoring
wontfix
No Milestone
No Assignees
2 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: zdm/envoy#7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
If you create a Group that is named like another contact, you'll currently encounter a
PSQLException
because that name already exists.The same thing happens, when a new user is created that is named like another one
Expected behavior
The first part can be easily fixed by moving the
UniqueConstraint
from Contact to User.The second part is more challenging as it requires disallowing users to choose a name already present.
For the second part,
This was the stack trace after adding a Group
test3
when another group already had that name:Group names should NOT be uniqueto Group Names Should NOT be UniqueAs previously discussed, I have a vision involving a major change of our data model, which whould take care of this and a few other issues.
Because I'm not certain if it will work as intended or how long it might take, the issue will not be solved straight away.
Still, I would like to try this out before finding an alternative solution and potentially wasting resources when the new data model is implemented afterwards.