uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Stenger (Jira)" <...@uima.apache.org>
Subject [jira] [Updated] (UIMA-6192) VariableAssignmentExpression ignores List variables
Date Wed, 26 Feb 2020 09:04:00 GMT

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

Michael Stenger updated UIMA-6192:
----------------------------------
    Description: 
 Action VariableAssignmentExpression seems to ignore the assignment task if a list variable
is given as first argument. No exception is thrown, it just does nothing. Since action ASSIGN
doesn't operate on list expressions too, it would be great to have this one working here.

See the following example:
{code:java}
 DECLARE testType (IntegerArray arr);
 INTLIST il;
 Document { -> il = {1,2,3}, CREATE(testType, "arr" = il)};{code}

  was:
 Action VariableAssignmentExpression seems to ignore the assignment task if a list variable
is given as first argument. No exception is thrown, it just does nothing. Since action ASSIGN
doesn't operate on list expressions too, it would be great to have this one working here.

See the following example:

DECLARE testType (IntegerArray arr);
 INTLIST il;
 Document \{ -> il ={1,2,3}, CREATE(testType, "arr" = il)};


> VariableAssignmentExpression ignores List variables
> ---------------------------------------------------
>
>                 Key: UIMA-6192
>                 URL: https://issues.apache.org/jira/browse/UIMA-6192
>             Project: UIMA
>          Issue Type: Bug
>          Components: Ruta
>    Affects Versions: 2.8.0ruta
>            Reporter: Michael Stenger
>            Priority: Minor
>             Fix For: 2.8.1ruta, 3.0.1ruta
>
>
>  Action VariableAssignmentExpression seems to ignore the assignment task if a list variable
is given as first argument. No exception is thrown, it just does nothing. Since action ASSIGN
doesn't operate on list expressions too, it would be great to have this one working here.
> See the following example:
> {code:java}
>  DECLARE testType (IntegerArray arr);
>  INTLIST il;
>  Document { -> il = {1,2,3}, CREATE(testType, "arr" = il)};{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message