Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 570119

Summary: [FileDialog] Size limit exceeded error message is missing if uploaded file name has special characters
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.15   
Target Milestone: 3.16 M1   
Hardware: PC   
OS: All   
See Also: https://git.eclipse.org/r/c/rap/org.eclipse.rap/+/174395
https://git.eclipse.org/c/rap/org.eclipse.rap.git/commit/?id=5c9baadf6a211a8604ae9bdb1c6dce9b55fd5330
Whiteboard:

Description Ivan Furnadjiev CLA 2021-01-06 05:07:35 EST
This is happening if default file encoding is not utf-8. Steps to reproduce it with our Examples demo:
1. Set -Dfile.encoding=ISO-8859-1 as VM argument in the launch configuration to force non utf-8 file encoding
2. Set upload size limit to the file dialog
3. Upload bigger than this limit file with umlauts in his name.
As a result the red error message below the file name is missing. Error tooltip is also wrong. The returned file name by FileDialog#getFileName() has umlauts replaced.
Comment 1 Eclipse Genie CLA 2021-01-07 09:26:33 EST
New Gerrit change created: https://git.eclipse.org/r/c/rap/org.eclipse.rap/+/174395