[jira] [Resolved] (SYNCOPE-962) Upgrade to Wicket 7.5.0

2016-12-27 Thread Marco Di Sabatino Di Diodoro (JIRA)

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marco Di Sabatino Di Diodoro resolved SYNCOPE-962.
--
Resolution: Fixed
  Assignee: Marco Di Sabatino Di Diodoro

> Upgrade to Wicket 7.5.0
> ---
>
> Key: SYNCOPE-962
> URL: https://issues.apache.org/jira/browse/SYNCOPE-962
> Project: Syncope
>  Issue Type: Task
>  Components: console
>Reporter: Francesco Chicchiriccò
>Assignee: Marco Di Sabatino Di Diodoro
> Fix For: 2.0.2, 2.1.0
>
>
> Despite being considered a drop-in replacement for 7.4.0, upgrading Wicket to 
> 7.5.0 seems to cause several issues.
> Even applying the fixes and workarounds [1] [2] provided by the Wicket 
> community, when going to almost any page but Dashboard and Logs, a stacktrace 
> is returned:
> {code}
> org.apache.wicket.WicketRuntimeException: The component(s) below failed to 
> render. Possible reasons could be that: 1) you have added a component in code 
> but forgot to reference it in the markup (thus the component will never be 
> rendered), 2) if your components were added in a parent container then make 
> sure the markup for the child container includes them in .
> 1. [Fragment [Component id = required]]
> 2. [Fragment [Component id = externalAction]]
> 3. [Fragment [Component id = required]]
> 4. [Fragment [Component id = externalAction]]
> 5. [Fragment [Component id = required]]
> 6. [Fragment [Component id = externalAction]]
> 7. [Fragment [Component id = required]]
> 8. [Fragment [Component id = externalAction]]
> 9. [Fragment [Component id = required]]
> 10. [Fragment [Component id = externalAction]]
> 11. [Fragment [Component id = required]]
> 12. [Fragment [Component id = externalAction]]
> 13. [ListView [Component id = buttons]]
> 14. [ListItem [Component id = 0]]
> 15. [DefaultModalCloseButton [Component id = button]]
> 16. [ListView [Component id = inputs]]
> 17. [ListView [Component id = buttons]]
> 18. [ListItem [Component id = 0]]
> 19. [DefaultModalCloseButton [Component id = button]]
> 20. [ListView [Component id = inputs]]
> 21. [ListView [Component id = buttons]]
> 22. [ListItem [Component id = 0]]
> 23. [DefaultModalCloseButton [Component id = button]]
> 24. [ListView [Component id = inputs]]
> 25. [ListItem [Component id = 0]]
> 26. [AjaxSubmitLink [Component id = submit]]
> 27. [ListView [Component id = buttons]]
> 28. [ListItem [Component id = 0]]
> 29. [DefaultModalCloseButton [Component id = button]]
> 30. [ListView [Component id = inputs]]
> 31. [ListView [Component id = buttons]]
> 32. [ListItem [Component id = 0]]
> 33. [DefaultModalCloseButton [Component id = button]]
> 34. [ListView [Component id = inputs]]
> 35. [Fragment [Component id = required]]
> 36. [Fragment [Component id = externalAction]]
> at org.apache.wicket.Page.checkRendering(Page.java:666) 
> ~[wicket-core-7.5.0.jar:7.5.0]
> at org.apache.wicket.Page.onAfterRender(Page.java:821) 
> ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.markup.html.WebPage.onAfterRender(WebPage.java:224) 
> ~[wicket-core-7.5.0.jar:7.5.0]
> at org.apache.wicket.Component.afterRender(Component.java:932) 
> ~[wicket-core-7.5.0.jar:7.5.0]
> at org.apache.wicket.Component.render(Component.java:2353) 
> ~[wicket-core-7.5.0.jar:7.5.0]
> at org.apache.wicket.Page.renderPage(Page.java:1018) 
> ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:124)
>  ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:236)
>  ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
>  ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)
>  ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
>  ~[wicket-request-7.4.0.jar:7.4.0]
> at 
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265) 
> ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
>  ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
>  ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>  ~[wicket-native-websocket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
>  

[jira] [Resolved] (SYNCOPE-962) Upgrade to Wicket 7.5.0

2016-10-28 Thread fabio martelli (JIRA)

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

fabio martelli resolved SYNCOPE-962.

Resolution: Fixed

> Upgrade to Wicket 7.5.0
> ---
>
> Key: SYNCOPE-962
> URL: https://issues.apache.org/jira/browse/SYNCOPE-962
> Project: Syncope
>  Issue Type: Task
>  Components: console
>Reporter: Francesco Chicchiriccò
>Assignee: fabio martelli
> Fix For: 2.0.2, 2.1.0
>
>
> Despite being considered a drop-in replacement for 7.4.0, upgrading Wicket to 
> 7.5.0 seems to cause several issues.
> Even applying the fixes and workarounds [1] [2] provided by the Wicket 
> community, when going to almost any page but Dashboard and Logs, a stacktrace 
> is returned:
> {code}
> org.apache.wicket.WicketRuntimeException: The component(s) below failed to 
> render. Possible reasons could be that: 1) you have added a component in code 
> but forgot to reference it in the markup (thus the component will never be 
> rendered), 2) if your components were added in a parent container then make 
> sure the markup for the child container includes them in .
> 1. [Fragment [Component id = required]]
> 2. [Fragment [Component id = externalAction]]
> 3. [Fragment [Component id = required]]
> 4. [Fragment [Component id = externalAction]]
> 5. [Fragment [Component id = required]]
> 6. [Fragment [Component id = externalAction]]
> 7. [Fragment [Component id = required]]
> 8. [Fragment [Component id = externalAction]]
> 9. [Fragment [Component id = required]]
> 10. [Fragment [Component id = externalAction]]
> 11. [Fragment [Component id = required]]
> 12. [Fragment [Component id = externalAction]]
> 13. [ListView [Component id = buttons]]
> 14. [ListItem [Component id = 0]]
> 15. [DefaultModalCloseButton [Component id = button]]
> 16. [ListView [Component id = inputs]]
> 17. [ListView [Component id = buttons]]
> 18. [ListItem [Component id = 0]]
> 19. [DefaultModalCloseButton [Component id = button]]
> 20. [ListView [Component id = inputs]]
> 21. [ListView [Component id = buttons]]
> 22. [ListItem [Component id = 0]]
> 23. [DefaultModalCloseButton [Component id = button]]
> 24. [ListView [Component id = inputs]]
> 25. [ListItem [Component id = 0]]
> 26. [AjaxSubmitLink [Component id = submit]]
> 27. [ListView [Component id = buttons]]
> 28. [ListItem [Component id = 0]]
> 29. [DefaultModalCloseButton [Component id = button]]
> 30. [ListView [Component id = inputs]]
> 31. [ListView [Component id = buttons]]
> 32. [ListItem [Component id = 0]]
> 33. [DefaultModalCloseButton [Component id = button]]
> 34. [ListView [Component id = inputs]]
> 35. [Fragment [Component id = required]]
> 36. [Fragment [Component id = externalAction]]
> at org.apache.wicket.Page.checkRendering(Page.java:666) 
> ~[wicket-core-7.5.0.jar:7.5.0]
> at org.apache.wicket.Page.onAfterRender(Page.java:821) 
> ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.markup.html.WebPage.onAfterRender(WebPage.java:224) 
> ~[wicket-core-7.5.0.jar:7.5.0]
> at org.apache.wicket.Component.afterRender(Component.java:932) 
> ~[wicket-core-7.5.0.jar:7.5.0]
> at org.apache.wicket.Component.render(Component.java:2353) 
> ~[wicket-core-7.5.0.jar:7.5.0]
> at org.apache.wicket.Page.renderPage(Page.java:1018) 
> ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:124)
>  ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:236)
>  ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
>  ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)
>  ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
>  ~[wicket-request-7.4.0.jar:7.4.0]
> at 
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265) 
> ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
>  ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
>  ~[wicket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>  ~[wicket-native-websocket-core-7.5.0.jar:7.5.0]
> at 
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
>  ~[wicket-core-7.5.0.jar:7.5.0]
> at 
>