Uploaded image for project: 'GateIn Portal'
  1. GateIn Portal
  2. GTNPORTAL-3586

User related data not removed from the JCR tables on user deletion

    Details

    • Steps to Reproduce:
      Hide
      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
      
      Show
      Register a new user, log in, access the dashboard 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 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
    • Workaround Description:
      Hide

      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>
      
      Show
      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>
    • Bugzilla Update:
      Perform

      Description

      User specific data (user site, aka dashboard) is not removed from the JCR tables when a user is deleted.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ppalaga Peter Palaga
                Reporter:
                mputz Martin Weiler
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: