Based on my findings last week, we confirmed that the issue was with the new way Chrome handles XML. So while we wait for an IBM fix, I've written a monkeypatch that automatically overloads the two functions that are causing the problem.
I've done some fairly extensive testing, and everything seems to be functional in Chrome again.
Here's how it works.
It overloads querySelectorAll and DOMParser.parseFromString to catch the two functions where Cognos is erroring out. It then creates a mutation observer on the document to catch whenever an iframe is created, and then attaches the change to that iframe. Since reports can be nested in reports, iframes in iframes, I apply the same logic going down.
How to use: This is a cognos extension. Install it, reload, and test. If something breaks, use &factoryMode=true to disable extensions to remove it.
I've tested this on 12.1.2 and 12.1.3. Please respond back if you test on a different version and it fails or succeeds. I'll keep a running tally on this post.
| Version |
Outcome |
| 12.1.3 |
Success |
|
|
| 12.1.2 |
Success |
|
|
------------------------------
Paul Mendelson Product Manager
Product Manager
PMsquare
------------------------------