[JBoss JIRA] (DROOLS-4750) DrlParser fails to parse str[endsWith] operator
by Mario Fusco (Jira)
[ https://issues.jboss.org/browse/DROOLS-4750?page=com.atlassian.jira.plugi... ]
Mario Fusco updated DROOLS-4750:
--------------------------------
Sprint: 2019 Week 47-49 (from Nov 18)
> DrlParser fails to parse str[endsWith] operator
> -----------------------------------------------
>
> Key: DROOLS-4750
> URL: https://issues.jboss.org/browse/DROOLS-4750
> Project: Drools
> Issue Type: Bug
> Reporter: Alberto Fanjul Alonso
> Assignee: Mario Fusco
> Priority: Major
> Attachments: reproducer.zip
>
>
> In documentation
> https://docs.jboss.org/drools/release/7.23.0.Final/drools-docs/html_singl...
> operator str[endsWith] is supposed to be supported, it it is not working.
> Fails with:
> {code:java}
> java.lang.Exception: Rule contains errors![[5,19]: [ERR 102] Line 5:19 mismatched input 'str' in rule "pnr first name end with"]
> at com.mdw.bzr.drools_reproducer.StrWithFailOnFirstCompilationErrorReproducerTest.parse(StrWithFailOnFirstCompilationErrorReproducerTest.java:58)
> at com.mdw.bzr.drools_reproducer.StrWithFailOnFirstCompilationErrorReproducerTest._03_parseStrWith(StrWithFailOnFirstCompilationErrorReproducerTest.java:74)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 8 months
[JBoss JIRA] (DROOLS-4296) Rewrite parsing of modified properties
by Luca Molteni (Jira)
[ https://issues.jboss.org/browse/DROOLS-4296?page=com.atlassian.jira.plugi... ]
Luca Molteni updated DROOLS-4296:
---------------------------------
Sprint: 2019 Week 44-46 (from Okt 28) (was: 2019 Week 44-46 (from Okt 28), 2019 Week 47-49 (from Nov 18))
> Rewrite parsing of modified properties
> --------------------------------------
>
> Key: DROOLS-4296
> URL: https://issues.jboss.org/browse/DROOLS-4296
> Project: Drools
> Issue Type: Enhancement
> Reporter: Luca Molteni
> Assignee: Luca Molteni
> Priority: Minor
> Labels: good-first-issue
>
> See Consequence::findModifiedProperties
> Currently modified properties are parsed throughout the consequence, but that information is already present after the preprocessing of the ModifyStatement so it can be simplified a lot.
> This can be forward ported to Kogito also
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 8 months