Bug 1211157

Summary: User related data not removed from the JCR tables on user deletion
Product: [JBoss] JBoss Enterprise Portal Platform 6 Reporter: Martin Weiler <mweiler>
Component: PortalAssignee: Peter Palaga <ppalaga>
Status: CLOSED UPSTREAM QA Contact: Tomas Kyjovsky <tkyjovsk>
Severity: high Docs Contact:
Priority: high    
Version: 6.1.1CC: epp-bugs, ppalaga
Target Milestone: CR03   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:44:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Weiler 2015-04-13 08:05:34 UTC
Description of problem:
User specific data (user site, aka dashboard) is not removed from the JCR tables when a user is deleted.

Version-Release number of selected component (if applicable):


How reproducible:
Always


Steps to Reproduce:
1. Register a new user, log in, access the dashboard
2. User specific data is added to the JCR tables:
DEBUG [org.exoplatform.portal.config.UserPortalConfigListener] (http-127.0.0.1-8080-1) About to create user site for user user6
3. Log in as root, delete the new user

Actual results:
User data remains in the JCR tables

Expected results:
User data removed from the JCR tables again:
DEBUG [org.exoplatform.portal.config.UserPortalConfigListener] (http-127.0.0.1-8080-1) About to destroy user site for user user6


Additional info:
This is caused by a typo in gatein/gatein.ear/portal.war/WEB-INF/conf/portal/portal-configuration.xml

The following change needs to be applied to have the user data removed from the JCR tables on user deletion:

--- a/gatein/gatein.ear/portal.war/WEB-INF/conf/portal/portal-configuration.xml
+++ b/gatein/gatein.ear/portal.war/WEB-INF/conf/portal/portal-configuration.xml
@@ -245,7 +245,7 @@
       </value-param>
       <value-param>
         <name>destroy.user.portal</name>
-        <value>${gatein.portal.idm.destroyserportal}</value>
+        <value>${gatein.portal.idm.destroyuserportal}</value>
       </value-param>
       <value-param>
         <name>default.import.mode</name>

Comment 1 Peter Palaga 2015-04-21 08:53:10 UTC
https://github.com/gatein/gatein-portal/pull/937 was merged in upstream.

Comment 2 Tomas Kyjovsky 2015-04-27 17:06:06 UTC
DEBUG [org.exoplatform.portal.config.UserPortalConfigListener] (http-/127.0.0.1:8080-1) About to destroy user site for user test
DEBUG [org.exoplatform.portal.config.UserPortalConfigListener] (http-/127.0.0.1:8080-1) About to destroy user site for user test3
DEBUG [org.exoplatform.portal.config.UserPortalConfigListener] (http-/127.0.0.1:8080-1) About to destroy user site for user test2

Comment 3 Red Hat Bugzilla 2025-02-10 03:44:25 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.