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

CheckingObjectOutputStream broken in Wicket 7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 7.3.0, 8.0.0-M1
    • 7.4.0, 8.0.0-M2
    • None
    • None
    • Wicket 7.3.0, jre 1.8.0_92 (32 bit), win 7 (64 bit)

    Description

      CheckingObjectOutputStream seems to be broken in Wicket 7: child components of pages no longer seem to be checked.
      The issue can be reproduced by slightly changing org.apache.wicket.core.util.objects.checker:SessionCheckerTest:

      line 55 should read

      byte[] serialized = serializer.serialize(new InternalErrorPage().add(component));

      (i.e. the serialized component is added to an InternalErrorPage first)

      The test fails and the serialized session is no longer detected.

      The same code on Wicket 6 works just fine.

      Attachments

        Issue Links

          Activity

            People

              svenmeier Sven Meier
              jonas Jonas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: