Martin Grigorov created WICKET-4598:
---------------------------------------
Summary: Duplicate INFO logs due to twice registered
RequestInterfaceListeners
Key: WICKET-4598
URL: https://issues.apache.org/jira/browse/WICKET-4598
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.5.7
Reporter: Martin Grigorov
Assignee: Martin Grigorov
Priority: Minor
org.apache.wicket.Initializer#init() (wicket-core) registers several
RequestListenerInterface instances and this causes duplicated log entries which
confuse the users.
There is a comment in this #init() method:
// Register listener interfaces explicitly (even though they implicitly
// register when loaded) because deserialization of an object that
// implements an interface does not load the interfaces it implements!
What I believe is the problem is the code at
org.apache.wicket.RequestListenerInterface#registerRequestListenerInterface()
which throws an exception if there is an interface with that name but it has a
different method than the previous. Otherwise it re-registers it and logs the
message second time.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira