You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dmitri Blinov (JIRA)" <ji...@apache.org> on 2018/04/23 11:34:00 UTC
[jira] [Updated] (JEXL-259) Shorter ant-ish variables prevent
longer ant-ish variables from being resolved properly
[ https://issues.apache.org/jira/browse/JEXL-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitri Blinov updated JEXL-259:
-------------------------------
Description:
The following script is evaluated successfully
{code}
a.b.c = 2; a.b = 1; return a.b
{code}
While the following scripts are terminated with error {{unsolvable property 'c'}}
{code}
a.b = 1; a.b.c = 2; return a.b
{code}
{code}
a.b.c = 2; a.b = 1; return a.b.c
{code}
was:
The following script is evaluated successfully
a.b.c = 2; a.b = 1; return a.b
{code}
While the following scripts are terminated with error {{unsolvable property 'c'}}
{code}
a.b = 1; a.b.c = 2; return a.b
{code}
{code}
a.b.c = 2; a.b = 1; return a.b.c
{code}
> Shorter ant-ish variables prevent longer ant-ish variables from being resolved properly
> ---------------------------------------------------------------------------------------
>
> Key: JEXL-259
> URL: https://issues.apache.org/jira/browse/JEXL-259
> Project: Commons JEXL
> Issue Type: Bug
> Affects Versions: 3.1
> Reporter: Dmitri Blinov
> Priority: Major
>
> The following script is evaluated successfully
> {code}
> a.b.c = 2; a.b = 1; return a.b
> {code}
> While the following scripts are terminated with error {{unsolvable property 'c'}}
> {code}
> a.b = 1; a.b.c = 2; return a.b
> {code}
> {code}
> a.b.c = 2; a.b = 1; return a.b.c
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)