uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pablo Duboue (KeaText) (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-2639) Validate produce undefine feature errors for every feature
Date Tue, 05 Feb 2013 19:28:12 GMT
Pablo Duboue (KeaText) created UIMA-2639:
--------------------------------------------

             Summary: 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)
            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

Mime
View raw message