[ https://issues.apache.org/jira/browse/WICKET-753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johan Compagner closed WICKET-753. ---------------------------------- Resolution: Won't Fix i just tested it some more. But subclasses are not auto mounted! We do a direct equals check on class And we also should do that because how do we know if we hit a mount point which class or subclass to create? So if you mount subclasses on /bar then that will work fine. i close it for now, if you have another idea or what really doesn't work please reopen. > mounts stored in non-ordered map > -------------------------------- > > Key: WICKET-753 > URL: https://issues.apache.org/jira/browse/WICKET-753 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.3.0-beta3 > Reporter: Jonathan Locke > Assignee: Jonathan Locke > Priority: Minor > Fix For: 1.3.0-final > > > Because WebRequestCodingStrategy now uses a map to store mounted encoders (it > was meant to be a list for exactly the reason this bug is being submitted), > it is no longer possible to override encoders based on subclasses. For > example, if you mount Foo on "/foo" and Foo has subclasses Bar and Baz, those > subclasses are also mounted on "/foo", which is good. But then mounting Bar > on "/bar" does not (or at least MAY not) override this functionality even if > you install it before the "/foo" mount (which i would expect to work). To > resolve this issue, encoders ought to be searched for a match in the order > that they were added and not in some random order defined by the map they are > being stored in. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.