openflexo-team / openflexo-core

Openflexo federation infrastructure
2 stars 2 forks source link

Fix "duplicate behviour" error due to EventListener having no name #8

Closed tls-fledoux closed 1 year ago

tls-fledoux commented 1 year ago

During FML parsing, when multiple EventListener was declared in the same model it always triggered a "Duplicate behaviour" verification error.

This was due to the behaviour signature being "null(event)" for all EventListener nodes during parsing and object creation. This PR add the event name and listened instance as the behaviour name.

tls-fledoux commented 1 year ago

@sylvain-openflexo If you can review this :)