It would be better to fix the Java code that reads the XML files so this doesn't happen.

-Adrian

Jacques Le Roux wrote:
This sounds like a reasonnable solution to me. There are maybe better, I did not look into details.

Jacques

From: "Bilgin Ibryam" <bibr...@iguanait.com>
Hi,

When a controller includes other controllers, all repeating events (like preprocessor, postprocessor...) are executed and there is no possibility to override them.

If you want to test, you can go to project manager app with a wrong externalLoginKey parameter in the URL and you will see in the console that checkExternalLoginKey event from common-controller is executed 6 times .

To solve this, I propose to add a new attribute called name to "event" element in controller. This way if there are events with same names, only the last loaded event will be executed.

WDYT?

Bilgin



Reply via email to