Question
Virtusa
AU
Last activity: 10 May 2019 0:37 EDT
PDF not getting displayed in section for some of the work objects
Hi All,
We are using Pega 7.2.2 version, we had a requirement to display the pdf in a section. For this I did the configuration (attached), there were no issues identified during testing and we promoted the code to Prod. In Prod we see that for few work objects the pdf doesn't get displayed and a grey area(attached) is displayed instead.
We suggest the users to use Google Chrome as the preferred browser but when I open the same work object which was causing issue in Chrome, displays the pdf normally in Fire fox. We are not able to replicate this issue in lower environments - we tried creating pdfs around 10-12 mb and all possible cases like including images etc. but we couldn't succeed in replicating it.
Do we have any restriction in Chrome as such or do we need any change in the configuration itself?
Please suggest.
Cheers
***Moderator Edit-Vidyaranjan: Updated SR details***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Virtusa
AU
I raised an SR and they couldn't help me and asked me to post it in the forum.
Can someone share a solution
Cheers
Optum
IN
Hi Satyakanth,
What happens when you open the PDF with Adobe Reader? Also, could you try clearing cache in Chrome or try to open PDF in incognito mode?
Please share the SR# so I can go through the notes and get back to you?
Virtusa
AU
SR-D1993
Optum
IN
Hi Satya,
Thanks for letting me know the SR#.
While I review the case notes, could you share what the behavior of PDF looks like when opened through Firefox?
Additionally, as mentioned in my previous comment, what happens when you open the PDF through Adobe Reader? Did you try opening PDF through Chrome in incognito mode?
Thanks,
Srinivas
Virtusa
AU
Hello Srinivas,
When open the same case which is causing issue in Chrome, it opens normally in Firefox. It displays the pdf in that section.
You said try opening the case using Adobe Reader - When I download the pdf, there is no problem what so ever, but the problem is to display the pdf on the section and its normal with 90% of the cases but its causing problem for few cases.
Cheers
Optum
IN
Hi Satya,
Thank you for your comments.
As such there is no restriction with respect to Chrome. You also mentioned that this behavior is not seen in lower environments.
Can you share the screenshot of the PDF generated by Chrome and PDF generated by Firefox to compare?
I would also like to understand, the differences in use case from when it works in Chrome and when it doesn't.
Also, kindly try clearing browser cache and check.
Virtusa
AU
I just checked the console errors and it says invalid url but where as when I open the say in Firefox it displays normally. Attaching the console for Chrome & Firefox.
Virtusa
AU
Hello Srinivas,
I have attached the screenshots of working and non working scenarios.
I would also like to understand, the differences in use case from when it works in Chrome and when it doesn't.
Sorry I didn't get you, do you want to share the tracer?
Cheers
Virtusa
AU
Forgot the Firefox console
-
Nicholas Hughes
Optum
IN
Hi Satya,
Thank you for the information provided.
"I would also like to understand, the differences in use case from when it works in Chrome and when it doesn't."
You said that 95% of the time it works in Chrome, and 5% of the time it doesn't. I wanted to know, what are the use cases being tested when it works, and how are they different from the use cases that do not work.
Virtusa
AU
Hello Srinivas,
We follow the same sequence of steps in each and every case. The only difference would be the difference in content of PDF. The working and non working cases have got images, tables, text etc. There is no special thing which I found in non working cases. We tried with around 8mb of PDF as well but it gets displayed normally.
Cheers