[JBoss JIRA] (DROOLS-689) Dependent Enumerations not working in Test Scenario, EXPECT section
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-689?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-689:
-------------------------------
Component/s: Enumerations Editor
Test Scenarios Editor
> Dependent Enumerations not working in Test Scenario, EXPECT section
> -------------------------------------------------------------------
>
> Key: DROOLS-689
> URL: https://issues.jboss.org/browse/DROOLS-689
> Project: Drools
> Issue Type: Bug
> Components: Enumerations Editor, Test Scenarios Editor
> Affects Versions: 6.1.0.Final
> Reporter: Rares Vernica
> Assignee: Mark Proctor
>
> In Drools Workbench, I defined a dependent enumeration like:
> 'fact.f1' : ['a','b']
> 'fact.f2[f1=a]' : ['a1', 'a2']
> 'fact.f2[f1=b]' : ['b1', 'b2']
> The enumeration is detected properly and the drop-down box is displayed for Guided Rules and Test Scenario GIVEN section.
> The dependent filed is not detected properly for the Test Scenario EXPECT section and instead of the drop-down box a simple text box is displayed.
> If I populate the text box with a correct value from the enumeration, the scenario reports success, so the rule and the scenario is correct.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-658) External POJOs not shown in Workbench after reopen the project
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-658?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-658:
-------------------------------
Labels: drools-tools (was: )
> External POJOs not shown in Workbench after reopen the project
> --------------------------------------------------------------
>
> Key: DROOLS-658
> URL: https://issues.jboss.org/browse/DROOLS-658
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.1.0.Final, 6.2.0.CR2, 6.3.0.CR1
> Environment: linux 64 bits, EAP 6.4, java version "1.6.0_45"
> Reporter: Jose Cavieres
> Assignee: Michael Anstis
> Labels: drools-tools
> Attachments: Dependency.jpeg, Reusable-1.0.jar, Reusable-1.0.pom, dependecy-top.jpeg, error-top.jpeg, new-class-types.jpeg, reuse.tgz
>
>
> In order to reuse some POJOs, I followed the procedure defined in
> http://mswiderski.blogspot.com/2014/02/reuse-your-business-assets-with-jb...
> and added a POJO to the "reusable project" (named Papito)
> Everything works fine the first time one uses those clases in the "top project" (named Hijita) . POJOs of the "reusable project" are prefixed with the string "- ext -" in the Java editor of the "top project" just as explained in "15.7.6.6.3. Using the external objects" of the document:
> http://docs.jboss.org/drools/release/6.1.0.Final/drools-docs/html/wb.Work...
> The problem is that only happens the first time. If one logout and the login again, the "-ext" classes are no longer shown as valid Types por the POJOs in the "top project"
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-1202) I am not able to assign keys to Enum value through external data objects
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1202?page=com.atlassian.jira.plugi... ]
Jozef Marko commented on DROOLS-1202:
-------------------------------------
[~manstis] [~tirelli] Hi, I am going through backlog, I need your advice with this jira. What do you think should be this jira closed or transformed to enhancemen/feature request?
> I am not able to assign keys to Enum value through external data objects
> ------------------------------------------------------------------------
>
> Key: DROOLS-1202
> URL: https://issues.jboss.org/browse/DROOLS-1202
> Project: Drools
> Issue Type: Bug
> Reporter: Fatema Rangwala
> Assignee: Mark Proctor
> Attachments: TestEnumPrac.java
>
>
> I was able to import Enum through data objects in workbench. But when I tried to add keys to enum value it is not supported.
> For e.g. in workbench it is supported to assign keys to enum value like [F='Female', M='Male'].
> But not able to assign keys to enum using external data object.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-1208) Listed deployed packages are duplicated when creating a new Container in Workbench.
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1208?page=com.atlassian.jira.plugi... ]
Jozef Marko closed DROOLS-1208.
-------------------------------
Fix Version/s: 7.8.0.Final
Resolution: Cannot Reproduce
> Listed deployed packages are duplicated when creating a new Container in Workbench.
> -----------------------------------------------------------------------------------
>
> Key: DROOLS-1208
> URL: https://issues.jboss.org/browse/DROOLS-1208
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.4.0.Final
> Reporter: Jonathan Holmström
> Assignee: Mark Proctor
> Fix For: 7.8.0.Final
>
>
> This only seems to occur on the first container create window you open after starting the workbench UI. Closing and reopening the window removes the duplication.
> When the packages are duplicated, selecting the second entry for each package will result in:
> 11:17:40,985 ERROR [org.guvnor.m2repo.backend.server.GuvnorM2Repository] (default task-64) error in opening zip file
> And will not fill in any package fields. The first entry works as expected.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-604) Problems in code generation and parsing when a method is called from Guided Rules Editor
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-604?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-604:
-------------------------------
Tester: Jozef Marko
> Problems in code generation and parsing when a method is called from Guided Rules Editor
> ----------------------------------------------------------------------------------------
>
> Key: DROOLS-604
> URL: https://issues.jboss.org/browse/DROOLS-604
> Project: Drools
> Issue Type: Bug
> Components: Guided Rule Editor
> Affects Versions: 6.1.0.Final, 6.2.0.Beta1, 6.2.0.Beta2, 6.2.0.Beta3
> Reporter: Abel Marrero Santos
> Assignee: Michael Anstis
> Priority: Critical
> Labels: drools-tools
> Attachments: model-base-0.0.1-SNAPSHOT.jar
>
>
> I have found a problem in code generation when we use the feature "call a method on <variable>" from the Guided Rule Editor. An InvocationTargetException caused by a ClassCastException is thrown in RuleModelDRLPersistenceImpl.generateSetMethodCallsMethod method.
> I have found other issues that I think are related and that I will try to mention in the comments. I can also provide you with the maven artifact that I'm using.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years