Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

abp.notify.success issue #10038


User avatar
0
omkarchoudhari created
  • What is your product version? 10.1 and 9.2
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)?.net core

If issue related with ABP Framework

  • What is ABP Framework version? 10.1 migrated from 9.2

If issue is about UI

  • Which theme are you using? Default theme
  • What are the theme settings?

when we do any CRUD operation on any component , after getting the result, we can see the notify.success message. But we get this console error(below) and greyout page and unable to perform any action until the page refreshes.

ERROR TypeError: Cannot read property 'removeEventListener' of undefined at removePopupAndResetState (scripts.js:33343) at handlePopupAnimation (scripts.js:33417) at SweetAlert.close (scripts.js:33386) at dismissWith (scripts.js:34217) at scripts.js:34278 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (polyfills.js:12578) at Object.onInvokeTask (vendor.js:71493) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (polyfills.js:12577) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (polyfills.js:12350) at push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask (polyfills.js:12653)

This issue is encountered only sometimes and mostly when logged in for first time.

we have updated aspnetzero version from 9.2 to 10.1 but still are getting this issue in 10.1 this issue is there in both version ie 9.2 and 10.1

Can you please help ?


8 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @omkarchoudhari

    Is this happening when you navigate to a different route before sweetalert is dismissed ?

  • User Avatar
    0
    omkarchoudhari created

    No we are not navigating to a different route.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @omkarchoudhari

    Do you know the steps to reproduce this problem ? We couldn't reproduce it on our side.

    Thanks,

  • User Avatar
    0
    omkarchoudhari created

    Since this issue happens randomly, please refer to this link where theres a video that shows how the issue is presented

    https://sidhesh-bagate.tinytake.com/tt/NTA4MzU4NV8xNTk2ODYzMA

    Hope this helps you to troubleshoot.

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks @omkarchoudhari

    I will try to reproduce this with the help of this video and update here.

  • User Avatar
    0
    omkarchoudhari created

    Is there any update on this please ?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @omkarchoudhari

    Not yet, but we are trying to fit this into 10.3 version.

  • User Avatar
    0
    mahendra created

    Hi ismcagdas,

    I am also facing the same issue....see below....

    core.js:4002 ERROR TypeError: Cannot read property 'removeEventListener' of undefined at removePopupAndResetState (sweetalert2.js:1846) at HTMLDivElement.<anonymous> (sweetalert2.js:1925) at ZoneDelegate.invokeTask (zone.js:431) at Object.onInvokeTask (core.js:26247) at ZoneDelegate.invokeTask (zone.js:430) at Zone.runTask (zone.js:198) at ZoneTask.invokeTask [as invoke] (zone.js:513) at invokeTask (zone.js:1671) at HTMLDivElement.globalZoneAwareCallback (zone.js:1697)

    Regards, Mahendra