-
Bug
-
Resolution: Fixed
-
High
-
1.2.2
-
None
-
Multiple environments. Tomcat 5.5.25, Java 5.
Both PrincipalDAOHibernate.add() (line 39) and GroupDAOHibernate.add() (line 39) call HibernateTemplate.clear() which closes the Hibernate Session.
Extending InternalDirectory to do multiple CRUD transactions fails after doing an add() because the Session is closed. Is the clear() necessary? Shouldn't the flush() do all a clear() does without closing the Sesison?
Our development requires us to comment out the clear() and recompile Crowd. It would be nice if add() could accommodate us (by leaving the Session open) and the import routines (which I'm told is why the clear() is there to begin with).
[CWD-768] Hibernate DAOs for Principals and Groups close the Hibernate Session when adding
Workflow | Original: Simplified Crowd Development Workflow v2 - restricted [ 1510043 ] | New: JAC Bug Workflow v3 [ 3364048 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Simplified Crowd Development Workflow v2 [ 1392759 ] | New: Simplified Crowd Development Workflow v2 - restricted [ 1510043 ] |
Workflow | Original: Crowd Development Workflow v2 [ 273222 ] | New: Simplified Crowd Development Workflow v2 [ 1392759 ] |
Workflow | Original: JIRA Bug Workflow v2 [ 174235 ] | New: Crowd Development Workflow v2 [ 273222 ] |
Workflow | Original: jira [ 121640 ] | New: JIRA Bug Workflow v2 [ 174235 ] |
Assignee | Original: David O'Flynn [Atlassian] [ doflynn ] | New: Justin Koke [ justin@atlassian.com ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Fix Version/s | New: 1.3 [ 13422 ] |