[jboss-jira] [JBoss JIRA] (DROOLS-1903) GRE DSL: Multiline code blocks break the editor

Toni Rikkola (JIRA) issues at jboss.org
Wed Nov 1 06:51:00 EDT 2017


     [ https://issues.jboss.org/browse/DROOLS-1903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Toni Rikkola updated DROOLS-1903:
---------------------------------
    Sprint: 2017 Week 34-35, 2017 Week 43-44  (was: 2017 Week 34-35)


> GRE DSL: Multiline code blocks break the editor
> -----------------------------------------------
>
>                 Key: DROOLS-1903
>                 URL: https://issues.jboss.org/browse/DROOLS-1903
>             Project: Drools
>          Issue Type: Bug
>          Components: Guided Rule Editor
>            Reporter: Toni Rikkola
>            Assignee: Toni Rikkola
>              Labels: support
>
> Rules where the generated DRL has brackets break the editor if DSL is in use.
> When DSL is in use the normal DRL lines are marked "special" with the > character so that the DSL detection can ignore them. Once DSL has been replaced with DRL we remove the > characters.
> The codes merge brackets to the same line before the > characters are removed. This leaves > characters to the end code and they break the parser. The entire rule editor then defaults to showing the raw file data that contains a > character for each line.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list