Affects Version/s: 6.2.X EE, 7.0.0 M5
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.
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.