Re: [rules-users] Fusion : must declare @role(event) for all class hierarchy ?

2011-11-28 Thread Vincent LEGENDRE
Well, after trying and trying to reproduce with a simpler case, @role is always correctly inherited. But in my application, it seems not, or may be it is another problem. I have 3 classes : ChantierEvent (the main mother class) and its 2 subClasses : InitEvent and DisposeEvent When I declare

Re: [rules-users] Fusion : must declare @role(event) for all class hierarchy ?

2011-11-28 Thread Edson Tirelli
Vincent, It seems it is a merging problem on declarations, but unfortunately, the exceptions you are seeing are the symptoms, not the cause, so I can't infer much from them. Some suggestions to try to isolate the problem: are the fact types (classes) in the same package or different

Re: [rules-users] Fusion : must declare @role(event) for all class hierarchy ?

2011-11-28 Thread Vincent LEGENDRE
Hi Edson, and thanks for answering ? - are the fact types (classes) in the same package or different packages? Different packages. But I tried this on my little sample (put the sub-class in another package than the mother class), and this works ? - Are the declaration(s)/rules in the same

Re: [rules-users] Fusion : must declare @role(event) for all class hierarchy ?

2011-11-28 Thread Vincent LEGENDRE
Tried to load my fusion package before any others. Same problem - Mail original - De: Vincent LEGENDRE vincent.legen...@eurodecision.com À: Rules Users List rules-users@lists.jboss.org Envoyé: Lundi 28 Novembre 2011 19:48:03 Objet: Re: [rules-users] Fusion : must declare @role(event

Re: [rules-users] Fusion : must declare @role(event) for all class hierarchy ?

2011-11-15 Thread Vincent LEGENDRE
Strange ... When trying to build a minimal sample that reproduce my problem ... well ... did not manage to reproduce ... I will try to find out why my first attempt is different from my minimal sample now ... Will get back here asap. ___ rules-users

[rules-users] Fusion : must declare @role(event) for all class hierarchy ?

2011-11-14 Thread Vincent LEGENDRE
Hi all We are using Fusion to make some simplification and grouping on some events. We have several classes of events, all derivated from a top-level class . With fusion version 5.3 (and 5.2 too), we must declare the @role(event) for the top-level class, but also for all its classes

Re: [rules-users] Fusion : must declare @role(event) for all class hierarchy ?

2011-11-14 Thread Edson Tirelli
Vincent, Fact types are supposed to inherit the @role of their parent classes, so if you define the parent class/interface as an event, all subclasses will inherit the event role. If it is not working like this, it is a bug, but I am pretty sure we have tests for it. Please open a JIRA and

Re: [rules-users] Fusion : must declare @role(event) for all class hierarchy ?

2011-11-14 Thread Davide Sottara
-users-Fusion-must-declare-role-event-for-all-class-hierarchy-tp3506862p3508356.html 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