Perspective session event and inherited project

Hello,

I have two projet. One for all my object I want to reuse in multiple project (inheritable), and one for my application which use some component created in the first one.

One of my components use a Session Event Message (system.util.sendMessage(..., scope = "S").
The message event is created and call in my inheritable project.

But when I trigger the component in my application (second project) the event is fired twice.
I put some logs in the component and the message event. The component send only one message, but the event is fired twice.

Can I use Session Event like this ?

Steven Cheron

No. Events defined in any inheritable project fire in all leaf projects that inherit from it. Define gateway or session events only in leaf projects.