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

If you configure Liferay with LDAP and the Portrait field is not mapped, after signing in the user's portrait is removed

    Details

      Description

      Reproduction steps:

      1. Install the de-9 or de-10 fix pack
      2. Start up the bundle
      3. Configure Liferay with LDAP (LDAP enabled, import and export enabled, make sure that the Portrait field is not mapped!)
      4. Go to My Account -> Account Settings
      5. Upload a picture for the user
      6. Sign out
      7. Sign in

      Experienced behavior: After logging in the uploaded picture was removed, if you check the db the portraitId is 0.
      Expected behavior: The uploaded picture shouldn't be removed


      QA Notes
      Please test both this and LPS-69503 to make sure we don't bring back the old issue. To map user portrait, you can create a new attribute in Apache Directory Studio for the user with type photo (check-in the 'binary' option) and set a random image in LDAP. Then, you can map the Portrait to the 'photo' field on portal side.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                felix.zhang Felix Zhang
                Reporter:
                ugurcan.cetin Uğurcan Çetin (Inactive)
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 25 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP14
                  7.0.0 DXP SP3
                  7.0.3 CE GA4
                  7.0.X EE
                  7.1.X
                  Master