[
https://issues.jboss.org/browse/GTNPORTAL-3218?page=com.atlassian.jira.pl...
]
Trong Tran updated GTNPORTAL-3218:
----------------------------------
Labels: (was: backlogs)
The global chromattic session context doesn't close properly
------------------------------------------------------------
Key: GTNPORTAL-3218
URL:
https://issues.jboss.org/browse/GTNPORTAL-3218
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Trong Tran
Assignee: Trong Tran
Fix For: 3.7.0.Final
The following unit testcase doesn't work, it fails in the second openning of the
context :
{code}
public void testGlobalSessionClose() {
chromatticManager.beginRequest();
try {
test1LF.openContext();
// do something
test1LF.closeContext(false); // close without persisting changes to DB
//
test1LF.openContext();
test1LF.closeContext(true);
}
finally {
chromatticManager.endRequest(true);
}
}
{code}
it raises an exception of java.lang.IllegalStateException: A context is already opened
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira