You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Pablo Duboue (KeaText) (JIRA)" <de...@uima.apache.org> on 2013/02/05 20:28:12 UTC

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

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