Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Via the CAS API, it is possible to inject a String value into a StringArray feature slot - probably into any other slot as well.
- Define a type with a StringArray valued feature
- Create an instance of the type using CAS.createAnnotation
- Set a the feature value on the a annotation using Annotation.setStringValue(...)
- Try fetching the feature value using Annotation.getFeatureValue
When setting a value on a slot, it should be checked if the value is suitable for the slot.
Attachments
Issue Links
- links to