[ https://issues.apache.org/jira/browse/WICKET-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eelco Hillenius resolved WICKET-230. ------------------------------------ Resolution: Duplicate Cheers, but I already fixed that yesterday :) > [Patch] AuthenticatedWebSession subclass can not be instanciate via > newSession method > ------------------------------------------------------------------------------------- > > Key: WICKET-230 > URL: https://issues.apache.org/jira/browse/WICKET-230 > Project: Wicket > Issue Type: Bug > Components: wicket-auth-roles > Affects Versions: 1.3 > Reporter: vincent Demay > Priority: Blocker > Attachments: patch.txt > > > WebSession constructor has changed and needs now Request as parameter. > newSession in AuthenticatedWebApplication does not use this new constructor. > The following patch fix the bug : > Index: > /Users/doume/Dev/Wicket/branch-1X/wicket-auth-roles-1.3/src/main/java/wicket/authentication/AuthenticatedWebApplication.java > =================================================================== > --- > /Users/doume/Dev/Wicket/branch-1X/wicket-auth-roles-1.3/src/main/java/wicket/authentication/AuthenticatedWebApplication.java > (revision 498420) > +++ > /Users/doume/Dev/Wicket/branch-1X/wicket-auth-roles-1.3/src/main/java/wicket/authentication/AuthenticatedWebApplication.java > (working copy) > @@ -105,8 +105,8 @@ > { > try > { > - return > webSessionClass.getDeclaredConstructor(AuthenticatedWebApplication.class) > - > .newInstance(AuthenticatedWebApplication.this); > + return > webSessionClass.getDeclaredConstructor(AuthenticatedWebApplication.class, > Request.class) > + > .newInstance(AuthenticatedWebApplication.this, request); > } > catch (Exception e) > { -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira