[
https://issues.jboss.org/browse/GTNPORTAL-3218?page=com.atlassian.jira.pl...
]
Trong Tran edited comment on GTNPORTAL-3218 at 9/22/15 5:11 AM:
----------------------------------------------------------------
I have closed
https://github.com/gatein/gatein-portal/pull/615 as the fix is not
complete.
was (Author: trong.tran):
The fix it not complete
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
Reporter: Trong Tran
Assignee: Trong Tran
Fix For: 3.9.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 was sent by Atlassian JIRA
(v6.4.11#64026)