- Create a WikiComponent Listener by following the steps described in a section of the tutorial on how to write an EvenListener, without adding any XWiki.ComponentMethodClass object.
- The server log complains that the listener needs a "getName" method (as expected).
- In a separate page, list the registered WikiComponents for instance with the script below: the WikiComponent that was created shows up.
- Delete the WikiComponent page that was just created and reload the script listing the WikiComponents.
The created WikiComponent still shows up in the list of components while one would expect either that it gets unregistered on page deletion or that it doesn't get registered until it implements the required methods, wouldn't we?