Tapestry 5
  1. Tapestry 5
  2. TAP5-1641

The ValueEncoder for Hibernate entity types should encode transient instances as null rather than throw an exception

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.3
    • Fix Version/s: 5.3
    • Component/s: tapestry-hibernate
    • Labels:
      None

      Description

      The current behavior gets in the way in many cases, such as creating a single page that will either edit an existing entity or editing a newly created entity before its first save, where the instance (transient or persistent) is stored as page activation context.

        Activity

        Hide
        Hudson added a comment -

        Integrated in tapestry-trunk-freestyle #516 (See https://builds.apache.org/job/tapestry-trunk-freestyle/516/)
        TAP5-1641: Encode transient instances as null

        The ValueEncoder for Hibernate entity types should encode transient instances as null rather than throw an exception

        hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1169936
        Files :

        • /tapestry/tapestry5/trunk/tapestry-hibernate/src/main/java/org/apache/tapestry5/internal/hibernate/HibernateEntityValueEncoder.java
        • /tapestry/tapestry5/trunk/tapestry-hibernate/src/test/java/org/apache/tapestry5/internal/hibernate/HibernateEntityValueEncoderTest.java
        Show
        Hudson added a comment - Integrated in tapestry-trunk-freestyle #516 (See https://builds.apache.org/job/tapestry-trunk-freestyle/516/ ) TAP5-1641 : Encode transient instances as null The ValueEncoder for Hibernate entity types should encode transient instances as null rather than throw an exception hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1169936 Files : /tapestry/tapestry5/trunk/tapestry-hibernate/src/main/java/org/apache/tapestry5/internal/hibernate/HibernateEntityValueEncoder.java /tapestry/tapestry5/trunk/tapestry-hibernate/src/test/java/org/apache/tapestry5/internal/hibernate/HibernateEntityValueEncoderTest.java

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development