Bug 840917 - deleted user is still displayed in portal configured using JTA
Summary: deleted user is still displayed in portal configured using JTA
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: Portal
Version: 5.2.2.ER02
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 5.2.2.CR01
Assignee: mposolda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: JBEPP-891
TreeView+ depends on / blocked
 
Reported: 2012-07-17 15:16 UTC by vramik
Modified: 2012-08-27 15:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description vramik 2012-07-17 15:16:41 UTC
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.

Comment 1 mposolda 2012-08-07 14:38:47 UTC
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

Comment 2 mposolda 2012-08-13 11:07:41 UTC
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" />-->

Comment 3 vramik 2012-08-27 15:09:54 UTC
Verified again at 5.2.2 CR01


Note You need to log in before you can comment on or make changes to this bug.