Description of problem: Deleted user is still displayed in users and groups management. How reproducible: Start portal according to configuration of this job: https://hudson.qa.jboss.com/hudson/job/epp5_ui_selenium_tests_db_mysql5.5_JTA/ Steps to Reproduce: 1. Open portal and sign in as a root 2. go to New Staff and create user 3. go to Users and Groups management and delete created user 4. click Quick search icon Actual results: Deleted user is still displayed. Expected results: Deleted user shouldn't be displayed. Additional info: When you create new user after deleting the previous one, the previous one isn't displayed any more.
This issue is introduced by fix of https://bugzilla.redhat.com/show_bug.cgi?id=834635. So workaround for this issue is to comment the configuration of TransactionManagerLookup in JBoss cache configuration file gatein.ear/02portal.war/WEB-INF/conf/organization/picketlink-idm/jboss-cache.xml: <!--<transaction transactionManagerLookupClass="org.jboss.cache.transaction.JBossStandaloneJTAManagerLookup" />--> This is only a workaround, so I won't fix it into EPP_5.2 branch as it can also potentially introduce other regressions in EPP 5.2.2. The cause is that IDMUserListAccess added into IntegrationCache is sometimes lost after commit of JTA transaction and old instance of IDMUserListAccess is restored. Proper fix will require further investigation at JBoss Cache level. Simple application for test this issue: https://github.com/mposolda/jcr-transaction-test
Issue is finally fixed by revert of https://bugzilla.redhat.com/show_bug.cgi?id=834635 and commenting of TransactionManagerLookup in JBoss cache configuration file gatein.ear/02portal.war/WEB-INF/conf/organization/picketlink-idm/jboss-cache.xml: <!--<transaction transactionManagerLookupClass="org.jboss.cache.transaction.JBossStandaloneJTAManagerLookup" />-->
Verified again at 5.2.2 CR01