Hello,
if I want to set Tags default notification in Group > some group > Manage > Tags I cannot save same tag for Watching and Tracking. I get 500 error
In Logs I can see “ActiveRecord::RecordNotUnique (PG::UniqueViolation: ERROR: duplicate key value violates unique constraint “idx_group_tag_notification_defaults_unique”
DETAIL: Key (group_id, tag_id)=(46, 46) already exists.”
If I select different tags for Watching and Tracking then it is working fine.
Is it bug or I cannot have same tag for Watching and Tracking? According to description they do different things.
Maybe one more thing. Would it be possible somehow improve error message? Error 500 - Internal Error can be a lots of things but here the problem is that you cannot set same labels. We spent some time to find root cause and solution is that it is not possible set. It would save time for users.
I’ve shared this with our team internally so we can look into making some improvements here relating to the error message you were getting in this situation.