Continuos View in JSViewer AR18 Not Working

Posted by: epeters on 1 May 2024, 4:52 pm EST

    • Post Options:
    • Link

    Posted 1 May 2024, 4:52 pm EST

    I have converted our web application to Active Reports 18 and found that there is an issue using Continuous View in the report viewer. The error I get is related to the code this.containerResizeObserver.disconnect(), in the removeListeners function. this.containerResizeObserver is undefined when vieweing through browser tools so I removed that line of code and the Continous View is now working. The error details are as follows:

    Uncaught TypeError: Cannot read properties of undefined (reading ‘disconnect’)

    at ia.removeListeners (jsViewer.min.js:5:914275)

    at ia.componentWillUnmount (jsViewer.min.js:5:910918)

    at jsViewer.min.js:5:687015

    at uo (jsViewer.min.js:5:687056)

    at _o (jsViewer.min.js:5:688888)

    at bl (jsViewer.min.js:5:702372)

    at t.unstable_runWithPriority (jsViewer.min.js:5:729334)

    at $r (jsViewer.min.js:5:647537)

    at Ml (jsViewer.min.js:5:700232)

    at ol (jsViewer.min.js:5:696386)

  • Posted 2 May 2024, 2:48 am EST

    Hi Eric,

    I wasn’t able to reproduce this issue at my end. Please refer to the attached sample application which I used to test this issue with.

    Could you please share a sample application replicating this issue or edit the attached sample such that it reproduces the issue and send it back to us for further investigation?

    Please also let us know what browser are you using and share the exact build version.

    JSViewerTest.zip

  • Posted 2 May 2024, 12:23 pm EST

    Your sample worked for me though it is using an rdlx report type. We are using code based section reports. I don’t know if that makes a difference or not. I will try to put together a sample today.

  • Posted 3 May 2024, 5:08 am EST

    Hi Eric,

    I have also attached an updated sample where I am using the new ActiveReports 18 ReportProvider API to return Code-based Section Report. I wasn’t able to reproduce with this either.

    I look forward to receiving your sample.

    JSViewerTest.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels