Infinite Loading Screen Caused By pega_rules_default.downloadFile() in 7.2.1
We're updating from 7.2 to 7.2.1 and have found an infinite loading issue when downloading generated Excel sheets.
We have an icon in the header of a repeat grid whose on-click event calls harness-reload and an activity to generate/download an xl sheet from the grid contents. Upon execution, the xl sheet is successfully generated and downloaded but the screen then displays the loading icon indefinitely. The rest of the application continues working and the tab can be refreshed/closed manually, but the loading screen remains frozen until manually closed/reloaded.
After some testing I think the issue is coming from the Java code pega_rules_default.downloadFile(xlFile.toString(), tools, true).
When commenting out this line, the rest of the activity completes successfully and the harness reloads. The activity works in 7.2 and has not been changed.
Is there any way to fix this, or a replacement for this function?
Full Java step code below.
String xlFileName = tools.getParamValue("FSFileName");
PRFile xlFile = new PRFile(xlFileName);
Please provide the name of the activity as Rett has requested. If indeed it is an OOTB activity, you can feel free to open an SR. If it is your custom activity, the post can continue to be on the community for us to continue our dialogue.