You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Lance (Created) (JIRA)" <ji...@apache.org> on 2012/04/17 12:17:18 UTC

[jira] [Created] (TAP5-1908) SeleniumTestCase should error for non-Serializable session attributes

SeleniumTestCase should error for non-Serializable session attributes
---------------------------------------------------------------------

                 Key: TAP5-1908
                 URL: https://issues.apache.org/jira/browse/TAP5-1908
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-test
    Affects Versions: 5.3.2, 5.4
            Reporter: Lance
            Priority: Minor


SeleniumTestCase should inject a Session implementation that throws an Exception when a non-Serializable attribute is put on the session.

Instead of using instanceof Serializable, it would be better to serialize the object to a temp OutputStream in order to fail any non-serializable nested properties.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira