Created attachment 867044 [details] Project with source code used by this bug testing Description of problem: The attached project (dsl-classup.tar.gz) contains a DSL using 2 simple classes (Reservation and Customer) and a DSLTest class to test it. A DSL is created (src/main/resources/jbtravel/jbtravel.dsl) and a Rule using this DSL is created as well. They all work correctly. I've created a new repository and a new project to store the same files in Business Central, removing the dslr file. When i try to create a Guided Rule with DSL support, the RHS isn't processed correctly according to the attached screenshot. Version-Release number of selected component (if applicable): 6.0.0.GA How reproducible: every time a new Guided Rule is created in Business Central Steps to Reproduce: 1.Create a repository in Business Central (using the web interface - repository name used: dsl-classup) 2.Create a project in Business Central (using the web interface - project name used: model - groupid: com.jbtravel - artifactId=model) 3.Clone the project locally to a repository. (git clone ssh://admin@localhost:8001/<repositoryName>) 4.Update the project including all files, except the jbtravel.dslr (copy the contents of dsl-classup.tar.gz into model directory) 5.Push the project into Business Central's repository (git commit && git push) 6.Create a new Guided Rule using Business Central. 7.Use the values presented in the screenshot. 8.Open the source tab. 9.Validate the source code ([11] Unable to expand: [reservation : Reservation]Charge 200 class upgrade fee) Actual results: The rule using a DSL isn't processed by the Business Central interface due to a wrong format presented (instead of presenting "Charge {value} class upgrade fee" the only output presented is "[reservation : Reservation]Charge {value} class upgrade fee". Expected results: The DSL rule processing should be able to read the DSL file and process it as: Charge {value} class upgrade fee". This allows a correct processing and a valid rule file. Additional info:
Created attachment 867045 [details] rule created using the Guided Rule in Business Central
I followed the steps and was not able to replicate. There have been numerous bug fixes relating to DSL->Source in recent weeks (I forget the BZ numbers) and it's quite possible this has already been fixed. I've referenced some of the BZs (but it might not be them all). I'd suggest retesting with the next release.
Is there any Red Hat internal server that I can download these bits?
Now it is fixed. The syntax used in the DRL file was using an old construction, not supported.
Ricardo thanks for the verification. Moving to VERIFIED.