[rules-users] 5.4.0 Final and issue: GUVNOR-1873

TonyN tony.n.nguyen at boeing.com
Wed Jun 13 13:08:31 EDT 2012


Hi Mike,

I was trying to re-import the old POJO to see how the classes are imported and ran into this error:

1) Create/upload new POJO
2) Entering in new name
3) Hit OK
4) Get the below error.

Also failed when trying to update existing model....what's going on?

[cid:574380317 at 13062012-0CA5]



________________________________
From: manstis [via Drools] [mailto:ml-node+s46999n4017917h84 at n3.nabble.com]
Sent: Wednesday, June 13, 2012 8:49 AM
To: Nguyen, Tony N
Subject: Re: [rules-users] 5.4.0 Final and issue: GUVNOR-1873

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 <[hidden email]</user/SendEmail.jtp?type=node&node=4017917&i=0>> 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
<a href="tel:714-896-1086" value="+17148961086" target="_blank">714-896-1086
[hidden email]<http://user/SendEmail.jtp?type=node&node=4017915&i=0>



________________________________
From: manstis [via Drools] [mailto:[hidden email]<http://user/SendEmail.jtp?type=node&node=4017915&i=1>]
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]<http://user/SendEmail.jtp?type=node&node=4017907&i=0>> wrote:
Sure will do.


On 12 June 2012 22:50, TonyN <[hidden email]<http://user/SendEmail.jtp?type=node&node=4017907&i=1>> 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]<http://user/SendEmail.jtp?type=node&node=4017907&i=2>
https://lists.jboss.org/mailman/listinfo/rules-users



_______________________________________________
rules-users mailing list
[hidden email]<http://user/SendEmail.jtp?type=node&node=4017907&i=3>
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<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>

________________________________
View this message in context: RE: [rules-users] 5.4.0 Final and issue: GUVNOR-1873<http://drools.46999.n3.nabble.com/5-4-0-Final-and-issue-GUVNOR-1873-tp4017880p4017915.html>

Sent from the Drools: User forum mailing list archive<http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html> at Nabble.com.

_______________________________________________
rules-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=4017917&i=1>
https://lists.jboss.org/mailman/listinfo/rules-users



_______________________________________________
rules-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=4017917&i=2>
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-tp4017880p4017917.html
To unsubscribe from 5.4.0 Final and issue: GUVNOR-1873, click here<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4017880&code=dG9ueS5uLm5ndXllbkBib2VpbmcuY29tfDQwMTc4ODB8LTM3MzQzMjM3MQ==>.
NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>


--
View this message in context: http://drools.46999.n3.nabble.com/5-4-0-Final-and-issue-GUVNOR-1873-tp4017880p4017921.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120613/fcb69abe/attachment-0001.html 


More information about the rules-users mailing list