[jira] [Updated] (JEXL-404) error parsing a?['b']

2023-08-30 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xu Pengcheng updated JEXL-404: -- Description: Code example: {code:java} var a = {:}; a.b; // ok a['b'];  // ok a?.b; // ok a?['b']; //

[jira] [Created] (JEXL-404) error parsing a?['b']

2023-08-30 Thread Xu Pengcheng (Jira)
Xu Pengcheng created JEXL-404: - Summary: error parsing a?['b'] Key: JEXL-404 URL: https://issues.apache.org/jira/browse/JEXL-404 Project: Commons JEXL Issue Type: Bug Affects Versions: 3.3

[jira] [Commented] (JEXL-403) Exception while evaluating template literal used in array assignment in loop.

2023-08-29 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17760176#comment-17760176 ] Xu Pengcheng commented on JEXL-403: --- great, thanks! > Exception while evaluating template literal used

[jira] [Created] (JEXL-412) Ambiguous syntax between namespace function call and map object definition.

2023-11-01 Thread Xu Pengcheng (Jira)
Xu Pengcheng created JEXL-412: - Summary: Ambiguous syntax between namespace function call and map object definition. Key: JEXL-412 URL: https://issues.apache.org/jira/browse/JEXL-412 Project: Commons

[jira] [Commented] (JEXL-406) allow override Engine.createTemplateInterpreter ?

2023-09-21 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17767468#comment-17767468 ] Xu Pengcheng commented on JEXL-406: --- We use Interpreter to wrap object to provider more methods, for

[jira] [Commented] (JEXL-406) allow override Engine.createTemplateInterpreter ?

2023-09-21 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17767480#comment-17767480 ] Xu Pengcheng commented on JEXL-406: --- And also we added unit test support for our jexl codes, and use

[jira] [Commented] (JEXL-406) allow override Engine.createTemplateInterpreter ?

2023-09-21 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17767770#comment-17767770 ] Xu Pengcheng commented on JEXL-406: --- Thanks I copied the test to my local project, but failed to run  

[jira] [Updated] (JEXL-406) allow override Engine.createTemplateInterpreter ?

2023-09-21 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xu Pengcheng updated JEXL-406: -- Attachment: image-2023-09-22-08-57-22-860.png > allow override Engine.createTemplateInterpreter ? >

[jira] [Created] (JEXL-406) allow override Engine.createTemplateInterpreter ?

2023-09-20 Thread Xu Pengcheng (Jira)
Xu Pengcheng created JEXL-406: - Summary: allow override Engine.createTemplateInterpreter ? Key: JEXL-406 URL: https://issues.apache.org/jira/browse/JEXL-406 Project: Commons JEXL Issue Type:

[jira] [Commented] (JEXL-406) allow override Engine.createTemplateInterpreter ?

2023-09-22 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17768062#comment-17768062 ] Xu Pengcheng commented on JEXL-406: --- totally understand and thanks! > allow override

[jira] [Commented] (JEXL-402) parse failed with empty return value.

2023-08-23 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17758067#comment-17758067 ] Xu Pengcheng commented on JEXL-402: --- Thank you! > parse failed with empty return value. >

[jira] [Created] (JEXL-403) Failed while evaluating template in loop.

2023-08-28 Thread Xu Pengcheng (Jira)
Xu Pengcheng created JEXL-403: - Summary: Failed while evaluating template in loop. Key: JEXL-403 URL: https://issues.apache.org/jira/browse/JEXL-403 Project: Commons JEXL Issue Type: Bug

[jira] [Commented] (JEXL-403) Failed while evaluating template in loop.

2023-08-29 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17759998#comment-17759998 ] Xu Pengcheng commented on JEXL-403: --- I tried at my side and found the problem is caused by setting cache

[jira] [Created] (JEXL-402) parse failed with empty return value.

2023-08-21 Thread Xu Pengcheng (Jira)
Xu Pengcheng created JEXL-402: - Summary: parse failed with empty return value. Key: JEXL-402 URL: https://issues.apache.org/jira/browse/JEXL-402 Project: Commons JEXL Issue Type: Bug Affects

[jira] [Created] (JEXL-377) Add support for javascript style function definition

2022-08-06 Thread Xu Pengcheng (Jira)
Xu Pengcheng created JEXL-377: - Summary: Add support for javascript style function definition Key: JEXL-377 URL: https://issues.apache.org/jira/browse/JEXL-377 Project: Commons JEXL Issue Type:

[jira] [Created] (JEXL-383) Inconsistent behavior after overriding toBoolean method in JexlArithmetic

2022-11-02 Thread Xu Pengcheng (Jira)
Xu Pengcheng created JEXL-383: - Summary: Inconsistent behavior after overriding toBoolean method in JexlArithmetic Key: JEXL-383 URL: https://issues.apache.org/jira/browse/JEXL-383 Project: Commons JEXL

[jira] [Updated] (JEXL-383) Inconsistent behavior after overriding toBoolean method in JexlArithmetic

2022-11-02 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xu Pengcheng updated JEXL-383: -- Description: I tried to overriding "toBoolean" method of JexlArithmetic for 'strict' mode. {code:java}

[jira] [Commented] (JEXL-383) Inconsistent behavior after overriding toBoolean method in JexlArithmetic

2022-11-06 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17629497#comment-17629497 ] Xu Pengcheng commented on JEXL-383: --- Thanks! Looks like  isStrict(JexlOperator operator) api of

[jira] [Updated] (JEXL-399) Needs support more javascript syntax

2023-07-06 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xu Pengcheng updated JEXL-399: -- Description: Hi, I am trying ask chatgpt to generate code for some cases, JEXL, as a lightweight,

[jira] [Updated] (JEXL-399) Needs support more javascript syntax

2023-07-06 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xu Pengcheng updated JEXL-399: -- Description: Hi, I am trying ask chatgpt to generate code for some cases, JEXL, as a lightweight,

[jira] [Created] (JEXL-399) Needs support more javascript syntax

2023-07-06 Thread Xu Pengcheng (Jira)
Xu Pengcheng created JEXL-399: - Summary: Needs support more javascript syntax Key: JEXL-399 URL: https://issues.apache.org/jira/browse/JEXL-399 Project: Commons JEXL Issue Type: New Feature

[jira] [Updated] (JEXL-399) Needs support more javascript syntax

2023-07-06 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xu Pengcheng updated JEXL-399: -- Description: Hi, I am trying ask chatgpt to generate code for some cases, JEXL, as a lightweight,

[jira] [Updated] (JEXL-399) Needs support more javascript syntax

2023-07-06 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xu Pengcheng updated JEXL-399: -- Description: Hi, I am trying ask chatgpt to generate code for some cases, JEXL, as a lightweight,

[jira] [Updated] (JEXL-399) Needs support more javascript syntax

2023-07-06 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xu Pengcheng updated JEXL-399: -- Description: Hi, I am trying ask chatgpt to generate code for some cases, JEXL, as a lightweight,

[jira] [Updated] (JEXL-399) Needs support more javascript syntax

2023-07-06 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xu Pengcheng updated JEXL-399: -- Description: Hi, I am trying ask chatgpt to generate code for some cases, JEXL, as a lightweight,

[jira] [Created] (JEXL-400) modify primitive value in lambda/function does not affect original value

2023-07-08 Thread Xu Pengcheng (Jira)
Xu Pengcheng created JEXL-400: - Summary: modify primitive value in lambda/function does not affect original value Key: JEXL-400 URL: https://issues.apache.org/jira/browse/JEXL-400 Project: Commons JEXL

[jira] [Comment Edited] (JEXL-399) Needs support more javascript syntax

2023-07-07 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17741235#comment-17741235 ] Xu Pengcheng edited comment on JEXL-399 at 7/8/23 3:39 AM: --- Thanks for your

[jira] [Commented] (JEXL-399) Needs support more javascript syntax

2023-07-07 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17741235#comment-17741235 ] Xu Pengcheng commented on JEXL-399: --- Thanks for your explaination. > Needs support more javascript

[jira] [Created] (JEXL-398) Allow 'trailing commas' while define a map

2023-06-24 Thread Xu Pengcheng (Jira)
Xu Pengcheng created JEXL-398: - Summary: Allow 'trailing commas' while define a map Key: JEXL-398 URL: https://issues.apache.org/jira/browse/JEXL-398 Project: Commons JEXL Issue Type: New

[jira] [Commented] (JEXL-420) Error while comparing float and string value

2024-02-07 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17815516#comment-17815516 ] Xu Pengcheng commented on JEXL-420: --- I agree that not weaken the type system, but in Java, usually the

[jira] [Created] (JEXL-418) Add try-catch support

2023-12-12 Thread Xu Pengcheng (Jira)
Xu Pengcheng created JEXL-418: - Summary: Add try-catch support Key: JEXL-418 URL: https://issues.apache.org/jira/browse/JEXL-418 Project: Commons JEXL Issue Type: New Feature

[jira] [Updated] (JEXL-420) Error while comparing float and string value

2024-02-05 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xu Pengcheng updated JEXL-420: -- Description: code: {code:java} 1.2 == ''{code} returns false   code: {code:java} 1.2 == 'a'{code}

[jira] [Updated] (JEXL-420) Error while comparing float and string value

2024-02-05 Thread Xu Pengcheng (Jira)
[ https://issues.apache.org/jira/browse/JEXL-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xu Pengcheng updated JEXL-420: -- Description: code: {code:java} 1.2 == ''{code} returns false   code: {code:java} 1.2 == 'a'{code}

[jira] [Created] (JEXL-420) Error while comparing float and string value

2024-02-05 Thread Xu Pengcheng (Jira)
Xu Pengcheng created JEXL-420: - Summary: Error while comparing float and string value Key: JEXL-420 URL: https://issues.apache.org/jira/browse/JEXL-420 Project: Commons JEXL Issue Type: Bug

[jira] [Created] (JEXL-415) incorrect template eval result

2023-11-17 Thread Xu Pengcheng (Jira)
Xu Pengcheng created JEXL-415: - Summary: incorrect template eval result Key: JEXL-415 URL: https://issues.apache.org/jira/browse/JEXL-415 Project: Commons JEXL Issue Type: Bug