Adding a new Term to the "Country" vocabulary leads to corrupt data
After adding a new term to the "Country" vocabulary the cdm server throws an exception during startup
#2 Updated by Patrick Plitzner 8 months ago
- Status changed from New to Feedback
- Assignee changed from Patrick Plitzner to Andreas Müller
@Andreas: Should it be allowed at all to add a new term to the Country vocabulary?
The problem is in the TermType class which does not have a specific value for Country, thus a new NamedArea is added to the list of Countries which causes the exception.
#4 Updated by Andreas Müller 7 months ago
- Assignee changed from Andreas Müller to Patrick Plitzner
Can we handle this special case hardcoded until the terms modul is more elaborated?
E.g. by testing if the vocabulary is explicitly the countries vocabulary and then disallow to add a term at all (adding countries should not be allowed as the vocabulary is managed).