Question

1
Replies
29
Views
MADHAVCNS Member since 2019 3 posts
bankofamerica
Posted: 2 months ago
Last activity: 2 months 2 weeks ago
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
Share this page LinkedIn