Question

1
Replies
42
Views
Close popover
MADHAV CHANGALA (MADHAVCNS)
bankofamerica

bankofamerica
IN
MADHAVCNS Member since 2019 3 posts
bankofamerica
Posted: July 30, 2020
Last activity: August 13, 2020
Solved

Upgrade to 8.3: file upload giving com.pega.pegarules.pub.PRRuntimeException: Illegal characters detected in the path "/StaticCont

Hi Team, 

As part of Testing after Upgrade to 8.3 in lower environment, found below issue while select a file for fi upload function.

com.pega.pegarules.pub.PRRuntimeException: Illegal characters detected in the path "/StaticContent/global/ServiceExport/text.txt:". You may not use the following characters:

I couldn't find any fix related to this in any of the posts. Can anyone please  help me out.

 

Solution updated:

Please find the fix below

 

Chang in java file of  pyUploadFile from semicolon(;) to colon (:) .

 

Old line of code

java.util.StringTokenizer st = new java.util.StringTokenizer(hiddenFileName, ";");

 

New line of code

java.util.StringTokenizer st = new java.util.StringTokenizer(hiddenFileName, ":");

 

Pega Platform 8.3 Front-End Developer Upgrade