You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2009/12/22 16:20:29 UTC

[jira] Resolved: (WICKET-2628) SerializingObjectSizeOfStrategy should warn when unable to serialize the object

     [ https://issues.apache.org/jira/browse/WICKET-2628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juergen Donnerstag resolved WICKET-2628.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-M1
                   1.4.6
         Assignee: Juergen Donnerstag

> SerializingObjectSizeOfStrategy should warn when unable to serialize the object
> -------------------------------------------------------------------------------
>
>                 Key: WICKET-2628
>                 URL: https://issues.apache.org/jira/browse/WICKET-2628
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.7
>            Reporter: Chuck Deal
>            Assignee: Juergen Donnerstag
>            Priority: Minor
>             Fix For: 1.4.6, 1.5-M1
>
>
> The SerializingObjectSizeOfStrategy.sizeof() method will return -1 in the case where it is unable to serialize the object (to determine its size).  However, in those cases, the user is unaware that an accurate size could not be determined.
> I think it would be beneficial for a warning to be logged in those cases, that way it still doesn't fail, but the developers can see when their expecations are not being met.  I don't think a full stacktrace is warranted, but just the Exception message.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.