[ https://issues.apache.org/jira/browse/WICKET-3097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920773#action_12920773 ]
Igor Vaynberg commented on WICKET-3097: --------------------------------------- thanks for the testcase pedro, ive cleaned it up a bit and committed. re 1.4 we decided not to apply it because it touches some very fragile parts of wicket and we would rather not make 1.4.x any less stable. the chances of this happening in 1.4.x are much slimmer then in 1.5. it requires a combination of metadata/temporary behavior/callback behavior all used within the same component. 1.5 uses metadata on every render so there the problem is a lot more prominent. > isTemporary behavior and ajax behavior together crashes with > WicketRuntimeException: Couldn't find component behavior. > ---------------------------------------------------------------------------------------------------------------------- > > Key: WICKET-3097 > URL: https://issues.apache.org/jira/browse/WICKET-3097 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.5-M2.1 > Reporter: Michal Kurtak > Assignee: Igor Vaynberg > Fix For: 1.5-M3 > > Attachments: patch.txt, temporarybehbug.zip > > > My scenario: > 1. Component has 2 behaviors: first is temporary and second is ajax behavior. > 2. Url for Ajax behavior contains behavior's index (e.g. > ../page?1-1.IBehaviorListener.1-form-text) > 2. Temporary behavior is removed in detachBehaviors method. > 3. Ajax request is invoking ListenerInterfaceRequestHandler and it's > looking for behavior on non-existing index > This scenario causes error on wicket 1.5-M2.1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.