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

[devutils] LiveSessionsPage is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4-RC4
    • 1.4-RC5
    • None
    • None

    Description

      Go to org.apache.wicket.devutils.inspector.LiveSessionsPage. Click "Enable Request Recording". Exception is shown.

      The problem is that DevUtilsPage attempts to do the simple building of the component hierarchy in onBeforeRender, not in the constructor, so on the second render it tries to add new copies of components with clashing ids.

      The fix is just to move the component hierarchy creation to page construction time.

      Attachments

        1. WICKET-2303.patch
          0.6 kB
          Max Oliver Bowsher

        Activity

          People

            jcompagner Johan Compagner
            maxb Max Oliver Bowsher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: