Uploaded image for project: '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
    • Status: Closed
    • Priority: 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:
            hlship Howard M. Lewis Ship
            Reporter:
            hlship Howard M. Lewis Ship
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development