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

Profile portlet doesn't handle portrait actions

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.2 CE GA3, 7.0.0 DXP FP17, Master
    • Fix Version/s: 7.1.X, Master
    • Component/s: Contacts Center
    • Labels:
      None

      Description

      Profile portlet allows user to update his portrait. Unfortunately there are two problems:

      • allowed max file size is provider to taglib in KB instead of bytes
      • new picture is not stored

       

      To test the first bug:

      • install a clear Liferay 7.0 CE GA3
      • log in as test@liferay.com and go to user dashboard "http://localhost:8080/web/test"
      • add profile portlet
      • click on the white space right to the user name to open "edit details" dialog
      • click on change
      • in the Upload image dialog the message is "Upload images no larger than 0KB", while the limit is 300KB.
      • if you try to upload an image smaller than 50KB the operation fail

       

      The second bug (picture not stored) happens when you solve the first bug.

      • go into "edit details" dialog
      • choose a image as portrait
      • click on save
      • details are saved but portrait is the previous one

        Attachments

          Activity

            People

            • Assignee:
              hong.zhao Hong Zhao
              Reporter:
              maumar Mauro Mariuzzo
              Participants of an Issue:
              Recent user:
              Jason Pince
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.1.X
                Master