[JBoss JIRA] (DROOLS-1910) Unable to use Bound Variables in From Accumulate evaluation clause
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1910?page=com.atlassian.jira.plugi... ]
Michael Anstis moved GUVNOR-2895 to DROOLS-1910:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1910 (was: GUVNOR-2895)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Rule Editor
Guided Template Editor
(was: Guided Rule Editor)
(was: Guided Rule Templates)
Affects Version/s: 6.4.0.Final
(was: drools_6.4.0.Final)
> Unable to use Bound Variables in From Accumulate evaluation clause
> ------------------------------------------------------------------
>
> Key: DROOLS-1910
> URL: https://issues.jboss.org/browse/DROOLS-1910
> Project: Drools
> Issue Type: Enhancement
> Components: Guided Rule Editor, Guided Template Editor
> Affects Versions: 6.4.0.Final
> Environment: RedHat Linux 2.6.32-642.13.1.el6.x86_64
> Firefox 45.6.0
> Reporter: Stephen Slaboda
> Attachments: bound_vars_from_accumulate.JPG, bound_vars_from_accumulate2.JPG
>
>
> In many locations, "Bound Variables" is an allowed selection for the right-hand side of an evaluation. However, in the upper evaluation portion of a From Accumulate function, this is not provided as an option when it probably should be.
> The workaround is to use the expression editor, but this adds a slew of additional clutter that is really not necessary in this case.
> Perhaps this is fixed in Drools 6.5.0 or 7.0.0, but I was unable to locate a ticket, and due to company requirements, I cannot just get the latest version to try it out.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1911) Guided Editor: Small wizard like feature for adding the fields
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1911?page=com.atlassian.jira.plugi... ]
Michael Anstis moved GUVNOR-1657 to DROOLS-1911:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1911 (was: GUVNOR-1657)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Rule Editor
Guided Template Editor
(was: Guided Rule Editor)
(was: Guided Rule Templates)
> Guided Editor: Small wizard like feature for adding the fields
> --------------------------------------------------------------
>
> Key: DROOLS-1911
> URL: https://issues.jboss.org/browse/DROOLS-1911
> Project: Drools
> Issue Type: Enhancement
> Components: Guided Rule Editor, Guided Template Editor
> Reporter: Toni Rikkola
> Priority: Optional
>
> # Click the fact to add a field
> # Click the dropdown to see the values
> # Click the dropdown to select the field
> # Click the dropdown to see the operators
> # Click the dropdown to select the operator
> # Click the pencil to set the value
> # Click the button to select "Literal Value" or "Formula" or anything else (Picking literal for here, value is an integer)
> # Click the empty value to add a field
> # Click the textbox to set focus and type the value
> # Click the ok button (Enter works too)
> DONE!
> 10 clicks.
> * Problems, forget to set the operator. You can still set the restriction value, but the restriction is ignored when generating the DRL.
> Proposing:
> # Click plus to add a new fact
> # Click fact to add a field (Can't get around this). A list shows up, like in the add condition/action.
> # Click to select "Add a restriction to field age". A mini wizard shows up. Showing a list of operators
> # Click to select an operator. Wizard shows a list "literal value", "new formula", "expression editor"
> # Click "literal value". The wizard shows a focused text box.
> # After typing the value press enter or click OK
> DONE!
> 6 clicks and a continuos flow.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1905) Use of the "%" sign in the title
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1905?page=com.atlassian.jira.plugi... ]
Michael Anstis moved GUVNOR-2789 to DROOLS-1905:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1905 (was: GUVNOR-2789)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Rule Editor
(was: Guided Rule Editor)
Affects Version/s: 6.5.0.Final
(was: drools_6.5.0.Final)
> Use of the "%" sign in the title
> --------------------------------
>
> Key: DROOLS-1905
> URL: https://issues.jboss.org/browse/DROOLS-1905
> Project: Drools
> Issue Type: Bug
> Components: Guided Rule Editor
> Affects Versions: 6.5.0.Final
> Reporter: Petr Farmakovsky
> Attachments: 14-12-2016 19-28-17.gif
>
>
> When you save rules or other objects Drools Workbench allows the use of the "%" sign in the title. Opening of any rule results in an error if there is an object with title containing "%" sign in the repository.
> It is impossible to build and publish the project.
> Error message: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "s."
> !14-12-2016 19-28-17.gif!
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1901) Bound fields when changed in the WHEN condition become uneditable after saving
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1901?page=com.atlassian.jira.plugi... ]
Michael Anstis moved GUVNOR-2925 to DROOLS-1901:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1901 (was: GUVNOR-2925)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Rule Editor
Guided Template Editor
(was: Guided Rule Editor)
(was: Guided Rule Templates)
> Bound fields when changed in the WHEN condition become uneditable after saving
> ------------------------------------------------------------------------------
>
> Key: DROOLS-1901
> URL: https://issues.jboss.org/browse/DROOLS-1901
> Project: Drools
> Issue Type: Bug
> Components: Guided Rule Editor, Guided Template Editor
> Environment: IBM WebSphere Application Server Network
> Deployment 8.5.5.9 (64-bit)
> Reporter: Saurabh Sharma
> Assignee: Toni Rikkola
> Priority: Minor
> Attachments: SimpleRule.jpg, SimpleRuleEdit.jpg
>
>
> Calculation of a mid price of an instrument
> While defining the WHEN condition, when a new price (NEWPRC) is bound from GSO.newPrice
> The required fields for that price is bound so that they can be changed in the THEN condition.
> The properties of the price are similar to any of the Bid or the Ask price except the unit price value. Those values are bound as well in the rule WHEN condition, and used in the
> THEN clause.
> In the THEN condition, the individual bound variables are set with values, the UI lets me add those values correctly without any issues the first time around.
> The problem occurs when the rule is saved, and opened again for editing. All the fields become uneditable and i have to repeat the steps of binding the variables of
> NEWPRC and then modify/set the values of those variables again in the WHEN condition.
> Is there any way to open the rule and get those bound variables in the edit mode
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1902) Unable to parse source with expression builder, reopens in free form
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1902?page=com.atlassian.jira.plugi... ]
Michael Anstis moved GUVNOR-3299 to DROOLS-1902:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1902 (was: GUVNOR-3299)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Rule Editor
(was: Guided Rule Editor)
Affects Version/s: 7.1.0.Beta3
(was: 7.1.0.Beta3)
> Unable to parse source with expression builder, reopens in free form
> --------------------------------------------------------------------
>
> Key: DROOLS-1902
> URL: https://issues.jboss.org/browse/DROOLS-1902
> Project: Drools
> Issue Type: Bug
> Components: Guided Rule Editor
> Affects Versions: 7.1.0.Beta3
> Reporter: Jiri Locker
> Assignee: Michael Anstis
> Priority: Minor
> Labels: reported-by-qe
>
> Classical reopen issue. I build a rule using the guided elements. It's saved in DRL source and when I reopen the rule, the DRL element cannot be parsed and so it falls back to free form.
> In this case the DRL element looks like:
> {noformat}
> $dayOffRequest : DayOffRequest( )
> ShiftAssignment( employee == $dayOffRequest.employee , shift.timeslot.startTime.toLocalDate() == $dayOffRequest.date )
> {noformat}
> Expected result: When reopened, the element above should be presented in expression editor.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1903) GRE DSL: Multiline code blocks break the editor
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1903?page=com.atlassian.jira.plugi... ]
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)
8 years, 8 months
[JBoss JIRA] (DROOLS-1899) DSL View for use in business rules assets does not scroll to the right
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1899?page=com.atlassian.jira.plugi... ]
Michael Anstis moved GUVNOR-1754 to DROOLS-1899:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1899 (was: GUVNOR-1754)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Rule Editor
Guided Template Editor
(was: Guided Rule Editor)
(was: Guided Rule Templates)
Affects Version/s: 5.5.0.Final
(was: drools-5.3.0.Final)
> DSL View for use in business rules assets does not scroll to the right
> ----------------------------------------------------------------------
>
> Key: DROOLS-1899
> URL: https://issues.jboss.org/browse/DROOLS-1899
> Project: Drools
> Issue Type: Bug
> Components: Guided Rule Editor, Guided Template Editor
> Affects Versions: 5.5.0.Final
> Environment: Guvnor-5.3.0.Final
> Reporter: Amana Juricic
> Assignee: Mark Coble
> Priority: Minor
> Attachments: screenshot.png
>
>
> I have created a set of DSL. The words end up being longer than the standard box that comes up when I try to use the DSL in a business rule assets.
> See the attached screenshot.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months