Prevent creating DUPLICATE GROUP NAMES via "Group.setName()"

Dear FirstSpirit Community,

when renaming an existing FirstSpirit group via:

Group.setName()
Project.save()

method calls, no "IllegalArgumentException" is thrown in case of an already existing FirstSpirit group having the same name.

When creating a new FirstSpirit group via calling:

Project.createGroup()
Project.save()

an "IllegalArgumentException" is thrown in case of an already existing FirstSpirit group having the same name.

Fix that difference.

1 Comment
StefanSchulz
I'm new here

Not sure, whether this is really intended as a "Feature discussion". If it is rather seen as a bug, please, report it as such.