Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-65497

UserLocalServiceImpl.updateModifiedDate doesn't set modifiedDate

    Details

      Description

      UserLocalServiceImpl.updateModifiedDate doesn't set modifiedDate

      /**
       * Updates the user's modified date.
       *
       * @param  userId the primary key of the user
       * @param  modifiedDate the new modified date
       * @return the user
       */
      @Override
      public User updateModifiedDate(long userId, Date modifiedDate)
      	throws PortalException {
      
      	User user = userPersistence.findByPrimaryKey(userId);
      
      	userPersistence.update(user);
      
      	return user;
      }
      

      However, it's required for example when importing users.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 22 weeks ago

                  Packages

                  Version Package
                  7.0.1 CE GA2