Wicket
  1. Wicket
  2. WICKET-4867

Detach the object before calculating its size

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.2.0, 1.5.9
    • Fix Version/s: 6.3.0, 1.5.10
    • Component/s: wicket
    • Labels:
      None

      Description

      The debug panel in wicket-devutils uses WicketObjects#sizeOf() to calculate
      the size of the page and the session.

      The "problem" that I see is that it calculates the size of the non-detached
      object. I think what really matters is the size after detaching it, because
      this is what is being saved in the http session and the disk, and I guess
      this is what the developer needs to know actually.

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Martin Grigorov
              Reporter:
              Martin Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development