uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Klügl (JIRA) <...@uima.apache.org>
Subject [jira] [Resolved] (UIMA-2639) Validate produce undefine feature errors for every feature
Date Wed, 06 Feb 2013 12:59:13 GMT

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

Peter Klügl resolved UIMA-2639.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0TextMarker

fixed
                
> 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
>    Affects Versions: 2.0.0TextMarker
>            Reporter: Pablo Duboue (KeaText)
>            Assignee: Peter Klügl
>            Priority: Minor
>             Fix For: 2.0.0TextMarker
>
>
> 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

Mime
View raw message