You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org> on 2009/06/30 15:22:47 UTC
[jira] Resolved: (UIMA-1404) It is not possible to set feature
values with subtypes of the feature type.
[ https://issues.apache.org/jira/browse/UIMA-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jörn Kottmann resolved UIMA-1404.
---------------------------------
Resolution: Fixed
The range type check now uses TypeSystem.subsumes to check if the dragged Feature Structure type is compatible with the range type of the feature.
> It is not possible to set feature values with subtypes of the feature type.
> ---------------------------------------------------------------------------
>
> Key: UIMA-1404
> URL: https://issues.apache.org/jira/browse/UIMA-1404
> Project: UIMA
> Issue Type: Bug
> Components: CasEditor
> Affects Versions: 2.2.2
> Environment: Windows Vista
> Reporter: Peter Prettenhofer
> Fix For: 2.3
>
>
> It is not possible to set features with subtypes of the feature type.
> More specific, given an annotation A of type X that has a feature of type Y and another annotation B of type Z which is a subtype of Y.
> In order to create a reference from A to B, one fixes annotation A in the edit view and drags annotation B from the outline view to the slot of type Y. However, it fails since the edit view only allows annotations of type Y not subtypes.
> We assume that the bug is located in org.apache.uima.caseditor.editor.editview.EditViewPage.java - Line 629 (Type.equals check).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.