[JBoss JIRA] (DROOLS-415) Guvnor guided editor can't save when composite key's condition
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-415?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-415:
-------------------------------
Component/s: Guided Rule Editor
> Guvnor guided editor can't save when composite key's condition
> --------------------------------------------------------------
>
> Key: DROOLS-415
> URL: https://issues.jboss.org/browse/DROOLS-415
> Project: Drools
> Issue Type: Feature Request
> Components: Guided Rule Editor
> Affects Versions: 5.5.0.Final
> Environment: Windows
> Reporter: Dennis Lee
> Assignee: Mark Proctor
> Labels: drools-tools
> Fix For: 5.5.0.Final
>
> Attachments: 1.png
>
>
> When i use to create rules on Guided editor, it can't save.
> For example, my entity is a order entity. It have some keys.
> Entity class : MailMail(id, ...so on..)
> Entity class : MailMailId(baseDate, mailLogId)
> Keys : baseDate, mailLogId
> It generated from hibernate generation's classes.
> I created a rule on Guided editor
> When
> mailMail : MailMail(id.baseDate >= '...' && id.baseDate <= '..')
> Then
> ....................
> If i created this rule on Guvnor's guided editor, it could not save.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-415) Guvnor guided editor can't save when composite key's condition
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-415?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-415:
-------------------------------
Labels: drools-tools (was: )
> Guvnor guided editor can't save when composite key's condition
> --------------------------------------------------------------
>
> Key: DROOLS-415
> URL: https://issues.jboss.org/browse/DROOLS-415
> Project: Drools
> Issue Type: Feature Request
> Components: Guided Rule Editor
> Affects Versions: 5.5.0.Final
> Environment: Windows
> Reporter: Dennis Lee
> Assignee: Mark Proctor
> Labels: drools-tools
> Fix For: 5.5.0.Final
>
> Attachments: 1.png
>
>
> When i use to create rules on Guided editor, it can't save.
> For example, my entity is a order entity. It have some keys.
> Entity class : MailMail(id, ...so on..)
> Entity class : MailMailId(baseDate, mailLogId)
> Keys : baseDate, mailLogId
> It generated from hibernate generation's classes.
> I created a rule on Guided editor
> When
> mailMail : MailMail(id.baseDate >= '...' && id.baseDate <= '..')
> Then
> ....................
> If i created this rule on Guvnor's guided editor, it could not save.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-415) Guvnor guided editor can't save when composite key's condition
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-415?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-415:
-------------------------------
Tester: Jozef Marko
> Guvnor guided editor can't save when composite key's condition
> --------------------------------------------------------------
>
> Key: DROOLS-415
> URL: https://issues.jboss.org/browse/DROOLS-415
> Project: Drools
> Issue Type: Feature Request
> Components: Guided Rule Editor
> Affects Versions: 5.5.0.Final
> Environment: Windows
> Reporter: Dennis Lee
> Assignee: Mark Proctor
> Labels: drools-tools
> Fix For: 5.5.0.Final
>
> Attachments: 1.png
>
>
> When i use to create rules on Guided editor, it can't save.
> For example, my entity is a order entity. It have some keys.
> Entity class : MailMail(id, ...so on..)
> Entity class : MailMailId(baseDate, mailLogId)
> Keys : baseDate, mailLogId
> It generated from hibernate generation's classes.
> I created a rule on Guided editor
> When
> mailMail : MailMail(id.baseDate >= '...' && id.baseDate <= '..')
> Then
> ....................
> If i created this rule on Guvnor's guided editor, it could not save.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-442) Defect(s) in DSL and Enumerations
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-442?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-442:
-------------------------------
Component/s: DSLs Editor
Enumerations Editor
> Defect(s) in DSL and Enumerations
> ---------------------------------
>
> Key: DROOLS-442
> URL: https://issues.jboss.org/browse/DROOLS-442
> Project: Drools
> Issue Type: Bug
> Components: DSLs Editor, Enumerations Editor
> Affects Versions: 6.0.1.Final
> Reporter: Stephen Johns
> Assignee: Mark Proctor
> Labels: drools-tools
>
> The following works like you would think:
> [when]xxx {l:ENUM:MyBean.l} {x:ENUM:MyBean.x} {y:ENUM:MyBean.y}=eval($sep.foo("any", "any", "{l}", "{x}", "{y}", "", ""))
> Defect 1
> If you remove the spaces between the "} {"
> [when]xxx {l:ENUM:MyBean.l}{x:ENUM:MyBean.x}{y:ENUM:MyBean.y}=eval($sep.foo("any", "any", "{l}", "{x}", "{y}", "", ""))
> l = ""
> x = ""
> y = l + x + y
> Defect 2
> Even in the first case, if the Enumeration returns a value that has space(s) in it (which maybe should not be allowed?) it will make for odd substitutions as well.
> Note that I need spaces to be supported.
> Defect 3
> Regardless of the date format specified the substitution always dd-MMM-yyyy
> {startTime:DATE:"dd-MMM-yyyy HH:mm"}
> {startTime:DATE:"dd-MMM-yyyy:HH:mm"}
> {startTime:DATE:"dd-MMM-yyyy@HH:mm"}
> {startTime:DATE:"HH:mm"}
> all result in "25-Feb-2014"
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-442) Defect(s) in DSL and Enumerations
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-442?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-442:
-------------------------------
Labels: drools-tools (was: )
> Defect(s) in DSL and Enumerations
> ---------------------------------
>
> Key: DROOLS-442
> URL: https://issues.jboss.org/browse/DROOLS-442
> Project: Drools
> Issue Type: Bug
> Components: DSLs Editor, Enumerations Editor
> Affects Versions: 6.0.1.Final
> Reporter: Stephen Johns
> Assignee: Mark Proctor
> Labels: drools-tools
>
> The following works like you would think:
> [when]xxx {l:ENUM:MyBean.l} {x:ENUM:MyBean.x} {y:ENUM:MyBean.y}=eval($sep.foo("any", "any", "{l}", "{x}", "{y}", "", ""))
> Defect 1
> If you remove the spaces between the "} {"
> [when]xxx {l:ENUM:MyBean.l}{x:ENUM:MyBean.x}{y:ENUM:MyBean.y}=eval($sep.foo("any", "any", "{l}", "{x}", "{y}", "", ""))
> l = ""
> x = ""
> y = l + x + y
> Defect 2
> Even in the first case, if the Enumeration returns a value that has space(s) in it (which maybe should not be allowed?) it will make for odd substitutions as well.
> Note that I need spaces to be supported.
> Defect 3
> Regardless of the date format specified the substitution always dd-MMM-yyyy
> {startTime:DATE:"dd-MMM-yyyy HH:mm"}
> {startTime:DATE:"dd-MMM-yyyy:HH:mm"}
> {startTime:DATE:"dd-MMM-yyyy@HH:mm"}
> {startTime:DATE:"HH:mm"}
> all result in "25-Feb-2014"
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-442) Defect(s) in DSL and Enumerations
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-442?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-442:
-------------------------------
Tester: Jozef Marko
> Defect(s) in DSL and Enumerations
> ---------------------------------
>
> Key: DROOLS-442
> URL: https://issues.jboss.org/browse/DROOLS-442
> Project: Drools
> Issue Type: Bug
> Components: DSLs Editor, Enumerations Editor
> Affects Versions: 6.0.1.Final
> Reporter: Stephen Johns
> Assignee: Mark Proctor
> Labels: drools-tools
>
> The following works like you would think:
> [when]xxx {l:ENUM:MyBean.l} {x:ENUM:MyBean.x} {y:ENUM:MyBean.y}=eval($sep.foo("any", "any", "{l}", "{x}", "{y}", "", ""))
> Defect 1
> If you remove the spaces between the "} {"
> [when]xxx {l:ENUM:MyBean.l}{x:ENUM:MyBean.x}{y:ENUM:MyBean.y}=eval($sep.foo("any", "any", "{l}", "{x}", "{y}", "", ""))
> l = ""
> x = ""
> y = l + x + y
> Defect 2
> Even in the first case, if the Enumeration returns a value that has space(s) in it (which maybe should not be allowed?) it will make for odd substitutions as well.
> Note that I need spaces to be supported.
> Defect 3
> Regardless of the date format specified the substitution always dd-MMM-yyyy
> {startTime:DATE:"dd-MMM-yyyy HH:mm"}
> {startTime:DATE:"dd-MMM-yyyy:HH:mm"}
> {startTime:DATE:"dd-MMM-yyyy@HH:mm"}
> {startTime:DATE:"HH:mm"}
> all result in "25-Feb-2014"
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-445) Drools Workbench throw Unable to expand in guided rule with DSL
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-445?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-445:
-------------------------------
Tester: Jozef Marko
> Drools Workbench throw Unable to expand in guided rule with DSL
> ---------------------------------------------------------------
>
> Key: DROOLS-445
> URL: https://issues.jboss.org/browse/DROOLS-445
> Project: Drools
> Issue Type: Bug
> Components: Guided Rule Editor
> Affects Versions: 6.0.1.Final
> Environment: Linux Debian 64
> Tomcat 7.0.42
> java version "1.6.0_27"
> OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1~deb7u1)
> OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
> Reporter: Claudio D'Angelo
> Assignee: Mark Proctor
> Labels: drools-tools, dsl, guided, workbench
>
> Hi,
> In a project workbench I've defined a data model, a drl, a dsl and an guided rule with dsl.
> In the guided rule with dsl the wizard (edit tab) work correctly but when I click "Validate"
> [6] Unable to expand: Richiesta( tipo == "RIMBORSO")
> [7] Unable to expand: Richiesta( condizione == "LOG")
> [9] Unable to expand: System.out.println("OK");
> My DSL is:
> [when] La richiesta e' di tipo "{tipo}"=Richiesta( tipo == "{tipo}")
> [when] la condizione e' "{condizione}"=Richiesta( condizione == "{condizione}")
> [when] e=and
> [then] stampa = System.out.println("OK");
> I've seen with the source tab of guided rule the converted rule:
> 1. | import it.test.modulistica.Richiesta;
> 2. |
> 3. | rule "bbb"
> 4. | dialect "mvel"
> 5. | when
> 6. | Richiesta( tipo == "RIMBORSO")
> 7. | Richiesta( condizione == "LOG")
> 8. | then
> 9. | System.out.println("OK");
> 10. | end
> but I think that this is the converted rule. I think that the source must be:
> import it.test.modulistica.Richiesta;
> rule "bbb"
> dialect "mvel"
> when
> La richiesta e' di tipo "RIMBORSO"
> la condizione e' "LOG"
> then
> stampa
> end
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-445) Drools Workbench throw Unable to expand in guided rule with DSL
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-445?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-445:
-------------------------------
Labels: drools-tools dsl guided workbench (was: dsl guided workbench)
> Drools Workbench throw Unable to expand in guided rule with DSL
> ---------------------------------------------------------------
>
> Key: DROOLS-445
> URL: https://issues.jboss.org/browse/DROOLS-445
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.0.1.Final
> Environment: Linux Debian 64
> Tomcat 7.0.42
> java version "1.6.0_27"
> OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1~deb7u1)
> OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
> Reporter: Claudio D'Angelo
> Assignee: Mark Proctor
> Labels: drools-tools, dsl, guided, workbench
>
> Hi,
> In a project workbench I've defined a data model, a drl, a dsl and an guided rule with dsl.
> In the guided rule with dsl the wizard (edit tab) work correctly but when I click "Validate"
> [6] Unable to expand: Richiesta( tipo == "RIMBORSO")
> [7] Unable to expand: Richiesta( condizione == "LOG")
> [9] Unable to expand: System.out.println("OK");
> My DSL is:
> [when] La richiesta e' di tipo "{tipo}"=Richiesta( tipo == "{tipo}")
> [when] la condizione e' "{condizione}"=Richiesta( condizione == "{condizione}")
> [when] e=and
> [then] stampa = System.out.println("OK");
> I've seen with the source tab of guided rule the converted rule:
> 1. | import it.test.modulistica.Richiesta;
> 2. |
> 3. | rule "bbb"
> 4. | dialect "mvel"
> 5. | when
> 6. | Richiesta( tipo == "RIMBORSO")
> 7. | Richiesta( condizione == "LOG")
> 8. | then
> 9. | System.out.println("OK");
> 10. | end
> but I think that this is the converted rule. I think that the source must be:
> import it.test.modulistica.Richiesta;
> rule "bbb"
> dialect "mvel"
> when
> La richiesta e' di tipo "RIMBORSO"
> la condizione e' "LOG"
> then
> stampa
> end
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-445) Drools Workbench throw Unable to expand in guided rule with DSL
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-445?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-445:
-------------------------------
Component/s: Guided Rule Editor
> Drools Workbench throw Unable to expand in guided rule with DSL
> ---------------------------------------------------------------
>
> Key: DROOLS-445
> URL: https://issues.jboss.org/browse/DROOLS-445
> Project: Drools
> Issue Type: Bug
> Components: Guided Rule Editor
> Affects Versions: 6.0.1.Final
> Environment: Linux Debian 64
> Tomcat 7.0.42
> java version "1.6.0_27"
> OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1~deb7u1)
> OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
> Reporter: Claudio D'Angelo
> Assignee: Mark Proctor
> Labels: drools-tools, dsl, guided, workbench
>
> Hi,
> In a project workbench I've defined a data model, a drl, a dsl and an guided rule with dsl.
> In the guided rule with dsl the wizard (edit tab) work correctly but when I click "Validate"
> [6] Unable to expand: Richiesta( tipo == "RIMBORSO")
> [7] Unable to expand: Richiesta( condizione == "LOG")
> [9] Unable to expand: System.out.println("OK");
> My DSL is:
> [when] La richiesta e' di tipo "{tipo}"=Richiesta( tipo == "{tipo}")
> [when] la condizione e' "{condizione}"=Richiesta( condizione == "{condizione}")
> [when] e=and
> [then] stampa = System.out.println("OK");
> I've seen with the source tab of guided rule the converted rule:
> 1. | import it.test.modulistica.Richiesta;
> 2. |
> 3. | rule "bbb"
> 4. | dialect "mvel"
> 5. | when
> 6. | Richiesta( tipo == "RIMBORSO")
> 7. | Richiesta( condizione == "LOG")
> 8. | then
> 9. | System.out.println("OK");
> 10. | end
> but I think that this is the converted rule. I think that the source must be:
> import it.test.modulistica.Richiesta;
> rule "bbb"
> dialect "mvel"
> when
> La richiesta e' di tipo "RIMBORSO"
> la condizione e' "LOG"
> then
> stampa
> end
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-534) Score Cards: Error in test scenario after update Guided Score Card
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-534?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-534:
-------------------------------
Tester: Jozef Marko
> Score Cards: Error in test scenario after update Guided Score Card
> ------------------------------------------------------------------
>
> Key: DROOLS-534
> URL: https://issues.jboss.org/browse/DROOLS-534
> Project: Drools
> Issue Type: Bug
> Components: Guided Score Card Editor, Test Scenarios Editor
> Reporter: Gennadiy Kruglov
> Assignee: Mark Proctor
> Labels: drools-tools
> Attachments: 2014-06-25_12-49-04.png, 2014-06-25_12-58-51.png
>
>
> In test scenario has error occurred after update Initial Score in Guided Score Card. There are the following error messages::
> 1) In the Reporting Pane - Unable to get a Session to run tests. Check the project for build errors.
> 2) In the Problems Pane - Found duplicate declaration for type ru.moneyman.rnd.rnd_moneyman_drools.Income
> Income – the field of declarative model class.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years