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

Audited and Staged Models create and modified dates are not always updated correctly

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.X EE, 7.0.0 M5
    • Fix Version/s: 7.0.0 M6
    • Component/s: Core Infrastructure
    • Labels:
      None

      Description

      Audited and Staged Models create and modified dates are not always update correctly.

      Steps (for User)

      1. Create a new user "test2".
      2. Check the modifiedDate column in the DB for that user.
        select emailaddress, status, createDate, modifiedDate from User_;
        
      3. Update the first name of that user, modifiedDate column gets updated with current timestamp.
      4. Deactivate the user, modifiedDate column does not get updated with current timestamp.

      Expected
      After the user's status is changed (deactivated/activated), the user's modifiedDate column is updated with the current time.
      Actual
      After the user's status is changed (deactivated/activated), the user's modifiedDate column is not updated with the current time.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 22 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 M6