Continuos View in JSViewer AR18 Not Working

Posted by: epeters on 1 May 2024, 7:52 am EST

    • Post Options:
    • Link

    Posted 1 May 2024, 7:52 am 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 1 May 2024, 5:48 pm 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, 3:23 am 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 2 May 2024, 8:08 pm 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