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

User image max size cannot be changed after initial setup

    Details

    • Story Points:
      1
    • Fix Priority:
      3
    • Last Working Version:

      Description

      User image max size cannot be changed after initial setup. It works only when it's configured in first initial setup.

      Steps:

      1. Start portal without any extension properties
      2. Set User image max size in portal-ext.properties (e.g. users.image.max.size=1024000)
      3. Restart the portal
      4. Change user profile picture and try to upload a file to respective limits (e.g. 500KB)

      Expected result: Limits info should be updated to respective number and file should be uploaded correctly
      Actual result: Limits info still shows default 300KB and file larger than 300KB cannot be uploaded.

      Reproducible:

      • Ubuntu 16.04, MySQL 5.7, Tomcat 8.0.32
      • 7.0.x Master git #91a43d26, 7.0.x nightly Master 20180311,  - Chrome, FF

      Not reproducible:

      • 7.0.4 GA5 - Chrome, FF

      Fix priority: S3 + L3 = 4

       

      Workaround: It can be changed in Control Panel (System Settings > User > User Images)

        Attachments

          Activity

            People

            Assignee:
            sharry.shi Sharry Shi
            Reporter:
            vitezslav.miech Vitezslav Miech
            Participants of an Issue:
            Recent user:
            Sharry Shi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 23 weeks ago

                Packages

                Version Package
                Master