Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
4.0.1
-
None
-
N/A
-
N/A
-
Description
The same root ObservationManager is generally used for all listeners of all namespaces (wikis).
Because both obviously have the same id, ObservationManager complain that we are trying to register twice the same listener an only keep one.
Problem is that only one of the namespace (wiki) will have its extension receive events.
A workaround is to generate a unique id (for example using System.identityHashCode(this)) in getName().
Attachments
Issue Links
- relates to
-
XWIKI-16333 Allow listeners to receive only events from their own namespace
- Open