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

LastLoginDate column in the user_ table doesn't update when user directly access the published image url

    Details

      Description

      Description:

      Customer has noticed that a user to whom they have given the access to download a document from Document and Media library is able to authenticate to the portal after clicking on download URL, but the lastlogindate is not getting updated in the user_ table of database once he/she logs in.

      Steps To Reproduce:

      1- Extracted fresh instance of Liferay DXP and connected it with a database.
      2- Added a .JPG image in Document and Media library.

      3- Gave the document view permission to site member view and remove the guest view permission.

      4- Copied the URL from the "Get URL" section.

      5- Log out
      6- Open the URL which we have copied from the Get URL section to log in

      Actual Behavior: User is able to authenticate and the document gets open, but the LastLoginDate column in the user_  table of database doesn't update the time and date.

      Expected Behavior: User is able to authenticate and the document gets open, and LastLoginDate column in the user_  table of database should show the login time of a user once he gets logged in successfully.

      Reproduced in Master: 72b98a9258118c08626ebfcc23e9c6e4933eb6fa

      Reproduced in 7.0.X: 65e889783ffc4f24a3929adef43df3cdcc17f281

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 30 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP46
                  7.0.6 CE GA7
                  7.0.0 DXP SP8
                  7.0.X
                  7.1.0 Beta 1
                  7.1.X
                  Master