Affects Version/s: 7.0.X
Steps to reproduce:
- Create a new user (User1)
- Make the user a member of Liferay DXP site
- Go to Content > Web Content
- Create a new WC structure with an Image field in it
- Add a template to the structure
- Create a WC with the structure, upload an image
- Edit the WC's permissions and add Update permission for Site member role
- Go to Site and add a Web Content Display portlet
- Display the WC created above
- Log in with User1
- Click Edit Web Content
- Try to upload a new WC image from PC
Actual behavior: You receive error: "An unexpected error occurred while uploading your file"
Expected behavior: You can upload a new image.