Martin Grigorov created WICKET-4867:
---------------------------------------
Summary: Detach the object before calculating its size
Key: WICKET-4867
URL: https://issues.apache.org/jira/browse/WICKET-4867
Project: Wicket
Issue Type: Improvement
Components: wicket
Affects Versions: 1.5.9, 6.2.0
Reporter: Martin Grigorov
Assignee: Martin Grigorov
Priority: Minor
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira