Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 


#Product
#Analytics
#CognosAnalytics
#Analyticstools
#TechXchange Partner
#TechXchange Session
#TechXchange Presenter
#AI
 View Only
  • 1.  Stopgap fix to the Chrome bug

    Posted 07/14/26 08:10 AM
    Edited by Paul Mendelson 07/14/26 09:22 AM
      |   view attached

    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.3-2606251736
    12.1.2 Success
       12.1.2-2603010829



    ------------------------------
    Paul Mendelson Product Manager
    Product Manager
    PMsquare
    ------------------------------

    Attachment(s)

    zip
    ChromeMonkeyPatch.zip   3 KB 1 version


  • 2.  RE: Stopgap fix to the Chrome bug

    Posted 07/14/26 01:10 PM

    A client I work with has advised that Google is releasing a minor update to Chrome v150 as early as tomorrow to resolve this issue.



    ------------------------------
    Robert Hofstetter
    ------------------------------



  • 3.  RE: Stopgap fix to the Chrome bug

    Posted 07/15/26 01:46 AM

    I've just updated my browser to the latest Chrome release, and it does indeed fix the issue. I don't feel like I've wasted my time at all now. 



    ------------------------------
    Paul Mendelson Product Manager
    Product Manager
    PMsquare
    ------------------------------



  • 4.  RE: Stopgap fix to the Chrome bug

    Posted 07/15/26 09:49 AM

    Bus as always - HELPFUL!!!



    ------------------------------
    Johannes Weinold
    ------------------------------