You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Korbinian Bachl (JIRA)" <ji...@apache.org> on 2017/07/04 16:34:00 UTC

[jira] [Comment Edited] (WICKET-6415) new Components added in AjaxRequest break with no Page found error

    [ https://issues.apache.org/jira/browse/WICKET-6415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16073888#comment-16073888 ] 

Korbinian Bachl edited comment on WICKET-6415 at 7/4/17 4:33 PM:
-----------------------------------------------------------------

update: 
quickstart works with following versions (hint: I missed a form.addOrReplace(c); in line 119 in AjaxDemoPanel in case MarkupNotFound error comes - is not depending on the page not found error [didn't notice this one until I started to go from wicket 6 on and see what version breaks it]):

- wicket version 6.5.0 works
- wicket version 7.6.0 works
- wicket version 7.7.0 works

- wicket version 8.0.0-M1 breaks it!
so bug was introduced in 8.0.0-M1


was (Author: kbachl):
update: 
quickstart works with following versions (hint: I missed a form.addOrReplace(c); in line 119 in AjaxDemoPanel in case MarkupNotFound error comes - is not depending on the page not found error [didnt notie this one until i started to go from wicket 6 on and see what version breaks it]):

- wicket version 6.5.0 works
- wicket version 7.6.0 works
- wicket version 7.7.0 works

- wicket version 8.0.0-M1 breaks it!
so bug was introduced in 8.0.0-M1

> new Components added in AjaxRequest break with no Page found error
> ------------------------------------------------------------------
>
>                 Key: WICKET-6415
>                 URL: https://issues.apache.org/jira/browse/WICKET-6415
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 8.0.0-M1, 8.0.0-M2, 8.0.0-M3, 8.0.0-M4, 8.0.0-M5, 8.0.0-M6, 8.0.0-M7
>         Environment: any
>            Reporter: Korbinian Bachl
>            Priority: Critical
>         Attachments: ajaxErrorDemo.tar.gz
>
>
> run attached quickstart-project (code behind works well in wicket 7 and lower), enter anything into the ajaxfield to trigger the updatebehaviour and you get error:
> Unexpected RuntimeException
> Last cause: No Page found for component [Component id = history]
> Stacktrace
> Root cause:
> org.apache.wicket.WicketRuntimeException: No Page found for component [Component id = history]
>      at org.apache.wicket.Component.getPage(Component.java:1755)
>      at org.apache.wicket.ajax.AjaxRequestHandler.add(AjaxRequestHandler.java:231)
>      at com.mycompany.demo.tile.AjaxDemoPanel$2.onUpdate(AjaxDemoPanel.java:118)
>      at org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehavior.onEvent(AjaxFormComponentUpdatingBehavior.java:156)
>      at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:151)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)