You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2008/05/13 03:40:57 UTC

[jira] Created: (TAPESTRY-2416) When the HibernateValueEncoder is unable to convert a primary key into an entity, it should log a warning

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

                 Key: TAPESTRY-2416
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2416
             Project: Tapestry
          Issue Type: Bug
          Components: tapestry-hibernate
    Affects Versions: 5.0.11
            Reporter: Howard M. Lewis Ship
            Assignee: Howard M. Lewis Ship


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.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Closed: (TAPESTRY-2416) When the HibernateValueEncoder is unable to convert a primary key into an entity, it should log an error

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAPESTRY-2416.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.12

> When the HibernateValueEncoder is unable to convert a primary key into an entity, it should log an error
> --------------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-2416
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2416
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-hibernate
>    Affects Versions: 5.0.11
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.12
>
>
> 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.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-2416) When the HibernateValueEncoder is unable to convert a primary key into an entity, it should log an error

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship updated TAPESTRY-2416:
-------------------------------------------

    Summary: When the HibernateValueEncoder is unable to convert a primary key into an entity, it should log an error  (was: When the HibernateValueEncoder is unable to convert a primary key into an entity, it should log a warning)

> When the HibernateValueEncoder is unable to convert a primary key into an entity, it should log an error
> --------------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-2416
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2416
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-hibernate
>    Affects Versions: 5.0.11
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.12
>
>
> 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.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org