Hi Tony,

Looks like a different bug to the one I fixed :(

My fix related to when a POJO model is uploaded and the imports automatically generated. The drop-down you have identified still needs fixing.

The "Advanced view" is the work-around at present (but you should find the imports are all present and correct after uploading a POJO JAR).

Would you be so kind as to raise another JIRA (and assign to me)?

Thanks,

Mike

On 13 June 2012 16:32, TonyN <tony.n.nguyen@boeing.com> wrote:
Mike,
 
thanks for taking the time to look into this.  This is my observation:
 
1) Copy Test_R02 from package 'Test_Package' to package 't1'
2) Copy Function 'compare_revs' from package 'Test_Package' to package 't1'
3) Build Package
4) Got a 'Success' result.
5) Notice that the following classes appeared in the 'Configuration: Import Types'  text area widget
    a) 'com.boeing.irip.model.TcItem.Dataset'
    b) 'com.boeing.irip.model.TcItem.Dataset.NamedReference'
   Note:  notice the '.' (dot) convention.  (Did you import them in this way)?
 
To show the failure:
1) Remove the above 2 classes from 'Configuration: Import Types'  text area widget.
2) Re-Import them back in as-is (click on the + sign and select the classes)
   a) com.boeing.irip.model.TcItem$Dataset
   b) com.boeing.irip.model.TcItem$Dataset$NamedReference
  Note: Notice the '$' convention.
3) Save work
4) Build package
5) Will get errors
 
 
I guess I would have to use (advanced) class name: to 'rename' the classes (or replace the '$' with '.') in order for a success build????
 

Thank You,
Tony Nguyen
IPDM Advanced Development
The Boeing Company
714-896-1086
[hidden email]

 


From: manstis [via Drools] [mailto:[hidden email]]
Sent: Wednesday, June 13, 2012 5:04 AM
To: Nguyen, Tony N
Subject: Re: [rules-users] 5.4.0 Final and issue: GUVNOR-1873

Hi Tony,

I tested again and it appears fine for me.

I used the BA5_TCModel JAR included in your repository export, with the following steps:-

1) Create a new package
2) Import POJO Model JAR
3) Re-create rule "Test _Rule01".
4) Validated OK.
5) Package built OK.

I've attached my repository export to the JIRA for your information (package t1).

It was too big to include in this email (email was pending approval before posting to mailing list due to it's size... and that, I guess, will never happen).

With kind regards,

Mike

On 12 June 2012 23:01, Michael Anstis <[hidden email]> wrote:
Sure will do.


On 12 June 2012 22:50, TonyN <[hidden email]> wrote:
Hi,

Latest release 5.4.0 final was supposed to include a fix for an issue that I
reported earlier (#1873).  However, I am still seeing the problem....

https://issues.jboss.org/browse/GUVNOR-1873

Wondering if you can take a look...

thx,
Tony

--
View this message in context: http://drools.46999.n3.nabble.com/5-4-0-Final-and-issue-GUVNOR-1873-tp4017880.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users



_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users



If you reply to this email, your message will be added to the discussion below:
http://drools.46999.n3.nabble.com/5-4-0-Final-and-issue-GUVNOR-1873-tp4017880p4017907.html
To unsubscribe from 5.4.0 Final and issue: GUVNOR-1873, click here.
NAML


View this message in context: RE: [rules-users] 5.4.0 Final and issue: GUVNOR-1873

Sent from the Drools: User forum mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users