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

Michael Anstis (JIRA) issues at jboss.org
Fri Oct 27 04:41:05 EDT 2017


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

Michael Anstis moved GUVNOR-3451 to DROOLS-1903:
------------------------------------------------

        Project: Drools  (was: Guvnor)
            Key: DROOLS-1903  (was: GUVNOR-3451)
       Workflow: GIT Pull Request workflow   (was: classic default workflow)
    Component/s: Guided Rule Editor
                     (was: Guided Rule Editor)


> 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