Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refreshProperties exception #225

Closed
adam-collins opened this issue Jun 19, 2024 · 0 comments
Closed

refreshProperties exception #225

adam-collins opened this issue Jun 19, 2024 · 0 comments
Milestone

Comments

@adam-collins
Copy link
Contributor

On test there is an exception with refreshProperties. There was an introduction of a new QueryResult.withTransaction { in refreshProperties that may be related.

Subset of the exception is

2024-06-19 01:48:02.845 ERROR --- au.org.ala.alerts.NotificationService:655 : [QUERY 197

org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: au.org.ala.alerts.QueryResult
    at au.org.ala.alerts.NotificationService.$tt__getPropertyValue(NotificationService.groovy:660)
    at au.org.ala.alerts.NotificationService$_refreshProperties_closure33$_closure69.doCall(NotificationService.groovy:639)
    at au.org.ala.alerts.NotificationService$_refreshProperties_closure33.doCall(NotificationService.groovy:628)
    at au.org.ala.alerts.QueryResult.withTransaction(QueryResult.groovy)
    at au.org.ala.alerts.QueryResult$withTransaction.call(Unknown Source)
    at au.org.ala.alerts.NotificationService.refreshProperties(NotificationService.groovy:627)
    at au.org.ala.alerts.NotificationService.$tt__checkStatus(NotificationService.groovy:103)
    at au.org.ala.alerts.NotificationService$__tt__checkQueryForFrequency_closure65.doCall(NotificationService.groovy:881)
    at au.org.ala.alerts.NotificationService.$tt__checkQueryForFrequency(NotificationService.groovy:877)
    at au.org.ala.alerts.NotificationService.$tt__checkQueryForFrequency(NotificationService.groovy:856)
    at au.org.ala.alerts.NotificationService.checkQueryForFrequency(NotificationService.groovy)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant