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

Daniele Zonca (Jira) issues at jboss.org
Wed Oct 3 09:46:00 EDT 2018


Daniele Zonca created DROOLS-3073:
-------------------------------------

             Summary: 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


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