]
Trong Tran updated GTNPORTAL-3539:
----------------------------------
Fix Version/s: 3.9.0.Final
Do not recover IDM transaction if exception occurs during a search.
-------------------------------------------------------------------
Key: GTNPORTAL-3539
URL:
https://issues.jboss.org/browse/GTNPORTAL-3539
Project: GateIn Portal
Issue Type: Task
Affects Versions: 3.7.0.Final
Reporter: Tran Trung Thanh
Priority: Minor
Fix For: 3.9.0.Final
If user meets an exception during a search, it is not neccessary to recover transaction.
Unit test
{code:java}
@Test
public void testFailDuringSearch() throws Exception {
String USER = "test";
createUser(USER);
userHandler_.findUserByName(null);
User user = userHandler_.findUserByName(USER);
assertTrue("Found user instance ", user != null);
userHandler_.removeUser(USER, true);
}
{code}