Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3097

isTemporary behavior and ajax behavior together crashes with WicketRuntimeException: Couldn't find component behavior.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-M2.1
    • 1.5-M3
    • wicket
    • None

    Description

      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

      Attachments

        1. temporarybehbug.zip
          7 kB
          Michal Kurtak
        2. patch.txt
          2 kB
          Pedro Santos

        Issue Links

          Activity

            People

              ivaynberg Igor Vaynberg
              michal.kurtak Michal Kurtak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: