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 Klügl (JIRA)" <de...@uima.apache.org> on 2013/02/05 20:50:15 UTC

[jira] [Assigned] (UIMA-2639) Validate produce undefine feature errors for every feature

     [ https://issues.apache.org/jira/browse/UIMA-2639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Klügl reassigned UIMA-2639:
---------------------------------

    Assignee: Peter Klügl
    
> Validate produce undefine feature errors for every feature
> ----------------------------------------------------------
>
>                 Key: UIMA-2639
>                 URL: https://issues.apache.org/jira/browse/UIMA-2639
>             Project: UIMA
>          Issue Type: Bug
>          Components: TextMarker
>            Reporter: Pablo Duboue (KeaText)
>            Assignee: Peter Klügl
>            Priority: Minor
>
> All features under 'CREATE' action are marked as undefined (and generating an error) even when correct (and defined in the same file).
> I traced that error to:
> textmarker-ep-ide/src/main/java/org/apache/uima/textmarker/ide/validator/TextMarkerVarRefChecker.java:309
> 306    private boolean findFeature(String structure, String feat) {
> 307      boolean featureFound = false;
> 308      if (description == null || structure == null) {
> 309        return featureFound;
> 310      }
> if the structure is null, it makes no sense to return false. I changed to 'return true') and now it works (but it doesn't detect actual undefined features, though).
> I'll be glad to help fix this issue for good if you have any guidance.
> (this error is for trunk at rev. 1442700)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira