[jboss-jira] [JBoss JIRA] (DROOLS-3073) Wrong full package if you use classes from another folder

Klara Kufova (Jira) issues at jboss.org
Mon Oct 8 07:40:00 EDT 2018


    [ https://issues.jboss.org/browse/DROOLS-3073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13644503#comment-13644503 ] 

Klara Kufova commented on DROOLS-3073:
--------------------------------------

[~jomarko], yes, correct, after importing the data object using the *Data Objects* tab, you need to save, close, and reopen the scenario.

> Wrong full package if you use classes from another folder 
> ----------------------------------------------------------
>
>                 Key: DROOLS-3073
>                 URL: https://issues.jboss.org/browse/DROOLS-3073
>             Project: Drools
>          Issue Type: Bug
>          Components: Scenario Simulation and Testing
>            Reporter: Daniele Zonca
>            Assignee: Gabriele Cardosi
>            Priority: Major
>         Attachments: Screenshot from 2018-10-05 15-32-12.png, scesim.zip
>
>
> Step to reproduce:
> - Create a Data Object "Object1" in a specific package (i.e. com.myspace.myproject)
> - Create a Test Scenario (Preview) "Test1" in a different package (i.e. com.myspace)
> - Use Data Objects tab to import "Object1" to "Test1"
> - Reload the asset and map a field of "Object1" to a column
> - Fill "Test1" with valid values
> - Run the scenario
> Result: Impossible to load class com.myspace.Object1
> Minor bug: if "Test1" has been create in default package the error that you get is "Impossible to load class *.*Object1" so it should be impossible to create the asset into default package or it should consider it to avoid "." symbol at the beginning



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list