You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Thilo Goetz (JIRA)" <ui...@incubator.apache.org> on 2006/12/18 18:22:26 UTC

[jira] Closed: (UIMA-128) ll_setStringValue not checking if feature range is subtype of String with Allowed Values, not doing Allowed Value check

     [ http://issues.apache.org/jira/browse/UIMA-128?page=all ]

Thilo Goetz closed UIMA-128.
----------------------------

    Fix Version/s: 2.1
       Resolution: Fixed

Fixed so that this is checked in the low-level APIs.  Added unit test to check behavior for CAS, JCas and low-level CAS.


> ll_setStringValue not checking if feature range is subtype of String with Allowed Values, not doing Allowed Value check
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: UIMA-128
>                 URL: http://issues.apache.org/jira/browse/UIMA-128
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.1
>            Reporter: Marshall Schor
>         Assigned To: Thilo Goetz
>            Priority: Minor
>             Fix For: 2.1
>
>
> The JCas code generated for setting string values uses the ll_setStringValue method in the CASImpl.  This method does not check if the type of the feature being set is a *subtype* of String with allowed values, and doesn't throw the needed exception if the item being set is not in the set of allowed values.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira