Filename with Turkish Characters fails with upload error
- When the user is uploading a file using pega pulse uploading section they have get some errors. The user is using a Turkish locale(TTR_tr, with the file name or file path contains special Turkish character(şüçığö).
This behavior is not consistent for all cases.
It might be related to the hotfix combination. They have enabled Turkish locale from browser and file encoding of web-logic JVM which host the Pega server is UTF-8.
Error MessagesDurum fail
Message caught exception java.lang.NullPointerException
Operator ID hc003461
Requestor ID HDC08507D2FE07C7EA362376A42C20DCB
Steps to Reproduce
- Create a following file path like below : 'C:\ğçşİİğğç öîİüûşçâ' .
- Copy two images to the folder and rename those like A. 'ğçşİİğğç öîİüûşçâ' B. 'şjsşçkjfdsç şçıAbc.jpg$22' .
- Login to below server.
- Run the 'Testcase' flow.
Root CauseConversion to lower case changes the length of string on some locales like Turkish locale(tr_TR). Start and end of a itemValue are being calculated after converting original string to lower case. This is done because start and end are derived based on the itemKey which can be in any case. After calculating start and end these indices are used on original String. If the lengths differ there is chance of out of bounds exception
ResolutionApply HFix-30919 to resolve this issue.
Published December 21, 2016 - Updated December 24, 2016