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

Shopping portlet's small image size constraint is inconsistent

Details

    Description

      Description
      Steps to reproduce
      1 - Start the portal
      2 - Add shopping portlet to page
      3 - Click on "Add Item"
      4 - Add values for "SKU" and "Name"
      5 - Under "Images", click on "Use Small Image" and upload an image that is larger than 150k
      6 - Hit Save
      Checkpoint: Request failed to complete. If you scroll down to the same section, it'll say "Please enter a file with a valid file size no larger than 50KB."
      7 - Now upload another image, this time the size should be larger than 50k but smaller than 150k (50k<X<150k)
      8 - Hit Save
      Result: Request completed successfully.
      Expected result: Either the small image error message should say that the image should be smaller than 150k, or it should adhere to 50k limit.
      Additional Information
      Reproduced on ee-6.2.x commit e27dbb9faf423f51ebc227ba9859cbe52153ba12
      Reproduced on trunk commit ee413553686e83f80efbd19335b7e3de8e443dbd
      Not sure which component, Util > Shopping or UI Infrastructure, so I selected both.

      Attachments

        Issue Links

          Activity

            People

              yvonne.han Yvonne Han
              david.zhang David Zhang (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8 years, 10 weeks, 3 days ago

                Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M5