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>
https://github.com/gatein/gatein-portal/pull/937 was merged in upstream.
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