Ticket #76 (defect)
Opened 7 years ago
Last modified 6 years ago
update subscription failed org.hibernate.TransientObjectException: org.bedework.calfacade.svc.BwSubscription
Status: closed (fixed)
| Reported by: | ebourdin@cross-systems.com | Assigned to: | douglm |
|---|---|---|---|
| Priority: | major | Milestone: | Bedework 3.1 |
| Component: | core | Version: | |
| Keywords: | BwSubscription | Cc: | |
When trying to update a subcription (ex: Log as douglm , subscriptions screen, change Trash subscription color -> button update to submit )
exception
javax.servlet.ServletException?: org.hibernate.TransientObjectException?: org.bedework.calfacade.svc.BwSubscription?
org.bedework.webcommon.BwSvciFilter?.doFilter(BwSvciFilter?.java:133)
cause mère
org.bedework.calfacade.CalFacadeException?: org.hibernate.TransientObjectException?: org.bedework.calfacade.svc.BwSubscription?
org.bedework.calcore.hibernate.HibSession?.close(HibSession?.java:961) org.bedework.calcore.hibernate.CalintfImpl?.close(CalintfImpl?.java:483) org.bedework.calsvc.CalSvc?.close(CalSvc?.java:412) org.bedework.webcommon.BwAbstractAction$Callback.close(BwAbstractAction?.java:1257) org.bedework.webcommon.BwSvciFilter?.doFilter(BwSvciFilter?.java:129)
Cause : (Maybe) I think this can occur because this object is first tried to be committed in view_subscription table, however it must exits in subscription table first, hibernate doesn't like it (id = -1). Solution : ( Maybe not sure) Try to add subscription first via preferences and user_sub tables( user_prefs.getSub().add(sub)),commit, then do the link with the view .
Env : BW 3.1 Candidate 3 (16 june)
Change History
11/27/06 14:29:03: Modified by douglm
- status changed from new to closed.
- resolution set to fixed.

Hibernate support changes fixed this.