Tapestry
  1. Tapestry
  2. TAPESTRY-2416

When the HibernateValueEncoder is unable to convert a primary key into an entity, it should log an error

    Details

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

      Description

      We had an issue where we forgot a @CommitAfter annotation and so our tables weren't updated.

      Because the HVE will silently convert unknown ids into nulls, it was that much harder to track down what went wrong.

      Having the HVE log a warning (or perhaps even an error) using the entity class as the Logger name would be most helpful.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development