Support Article
OpenURLInWindow not working with SNAPStart URL
SA-8852
Summary
OpenURLInWindow not working with SNAPStart URL , to define a specific use case:
In AES, We are constructing a URL to open a rule type by passing pzinskey to be opened using snapstart. the URL constructed is as follows:
http://sdevrulese:84/prweb/[email protected]&openHandle=RULE-OBJ-ACTIVITY RULE-OBJ-REPORT-DEFINITION PXRETRIEVEREPORTDATA #20140423T091233.014 GMT&Format=Harness&OpenFromPage=false&CreatePage=true
but URL gets truncated to http://sdevrulese:84/prweb/[email protected]&openHandle=RULE-OBJ-ACTIVITY RULE-OBJ-REPORT-DEFINITION PXRETRIEVEREPORTDATA
This happens on ML7 , works fine on our ML5 systems.
Tried the correctly constructed URL on the browser and the same happens; the URL is truncated till the timestamp. If we encode the URL and test the same. the PRPC Login page is rendered.
Error Messages
No error message in logs but the newwindow says the rule does not exist as the complete pzinskey is not possible.
Steps to Reproduce
use OPenURLinWindow control with any snapstart URL with the openHandle parameter with any rule's pzinskey.
Resolution
This issue is resolved by hotfix item HFIX-21678
As part of this HFIX updated pega.desktop.support.openUrlInWindow method to encode the provided URL.
Published June 12, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.