Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-1161

Automatically detect and fix incorrect user entries in the database

    Details

      Description

      The verify process has been updated to check if each user has a corresponding row in the Contact_ and Group_ table. If any user does not have a row in the Contact_ and Group_ table, a row will be added for the user. These rows are required by the portal to work properly.

      As part of this update the following methods have been added to UserLocalService

      public List<User> getNoContacts()
      public List<User> getNoGroups()

      and the following methods have been added to UserFinder

      public java.util.List<com.liferay.portal.model.User> findByNoContacts()
      public java.util.List<com.liferay.portal.model.User> findByNoGroups()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-ee EE Support
              Reporter:
              samuel.kong Samuel Kong
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  5.1 EE SP3 (5.1.6)
                  5.2 EE SP1 (5.2.5)