You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Prettenhofer (JIRA)" <ui...@incubator.apache.org> on 2009/06/26 10:41:07 UTC

[jira] Created: (UIMA-1404) It is not possible to set feature values with subtypes of the feature type.

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


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.


[jira] Updated: (UIMA-1404) It is not possible to set feature values with subtypes of the feature type.

Posted by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jörn Kottmann updated UIMA-1404:
--------------------------------

    Fix Version/s: 2.3

> 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.


[jira] Resolved: (UIMA-1404) It is not possible to set feature values with subtypes of the feature type.

Posted by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org>.
     [ 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.


[jira] Closed: (UIMA-1404) It is not possible to set feature values with subtypes of the feature type.

Posted by "Peter Prettenhofer (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Prettenhofer closed UIMA-1404.
------------------------------------


> 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.


[jira] Commented: (UIMA-1404) It is not possible to set feature values with subtypes of the feature type.

Posted by "Peter Prettenhofer (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724501#action_12724501 ] 

Peter Prettenhofer commented on UIMA-1404:
------------------------------------------

Would be great if you could fix it - I still have problems to get the build environment up and running...

best regards, Peter

> 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.


[jira] Commented: (UIMA-1404) It is not possible to set feature values with subtypes of the feature type.

Posted by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724492#action_12724492 ] 

Jörn Kottmann commented on UIMA-1404:
-------------------------------------

Do you want to provide a patch or should I fix it ?

> 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.