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

              Assignee:
              shitian.zhang Shitian "Shelton" Zhang (Inactive)
              Reporter:
              preston.crary Preston Crary
              Participants of an Issue:
              Recent user:
              David Zhang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 23 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 M6