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

Profile picture unit size is displayed incorrectly in error message

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: User Management
    • Labels:
    • Fix Priority:
      1
    • OS:
      Mac OS X 10.9
    • JDK:
      Adopt OpenJDK 8
    • Application Servers:
      Apache Tomcat 8.0.x
    • Browsers:
      Chrome 86
    • Databases:
      MySQL 5.7
    • Device Type:
      Desktop

      Description

      The unit of the file size in the error message is not in KB in the Account Settings / Profil picture.

      Steps to reproduce:

      1. Start up Liferay
      2. Open Burp Suite (Select Temporary project)
      3. Click on Proxy from the top navbar
      4. Click on Open Browser (And click on Intercept is On to turn it off)
      5. Log in as the administrator
      6. Go to Account settings
      7. Upload the attached image (notice how the image is 390Kb and the max file size is 300Kb)
      8. Go to Burp Suite and click on the Intercept is off button
      9. Click on Save
      10. Go back to Burp and find the following variable: _com_liferay_image_uploader_web_portlet_ImageUploaderPortlet_maxFileSize
      11. Set the size of it to 100307200
      12. Click on Forward in Burp
      13. Turn interception off
      14. Click save

      Expected behavior : The image size limit should be displayed in kilobyte

      Actual behavior : The image file size limit is displayed in byte

       

       

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            marcell.weller Marcell Weller
            Participants of an Issue:
            Recent user:
            Marcell Weller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              22 weeks, 5 days ago

                Packages

                Version Package