Base solution for your next web application
Open Closed

After a Role is deleted the pTable is not updated (Angular) #3663


User avatar
0
bsuranyi created

Hi - did the following steps:

  1. Created new Role with Permissions
  2. Database and pTable are updated
  3. Deleted Role
  4. Role is removed from the database however the pTable is not updated

Have got the following exception in the browser (Chrome): core.es5.js:1020 ERROR TypeError: Cannot read property 'changePage' of undefined at RolesComponent.webpackJsonp.../../../../../src/app/admin/roles/roles.component.ts.RolesComponent.reloadPage (roles.component.ts:45) at SafeSubscriber._next (roles.component.ts:59) at SafeSubscriber.webpackJsonp.../../../../rxjs/Subscriber.js.SafeSubscriber.__tryOrUnsub (Subscriber.js:238) at SafeSubscriber.webpackJsonp.../../../../rxjs/Subscriber.js.SafeSubscriber.next (Subscriber.js:185) at Subscriber.webpackJsonp.../../../../rxjs/Subscriber.js.Subscriber._next (Subscriber.js:125) at Subscriber.webpackJsonp.../../../../rxjs/Subscriber.js.Subscriber.next (Subscriber.js:89) at CatchSubscriber.webpackJ

Any thoughts if this is a config issue or a defect?


3 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    hi

    you can track the issue from the below link <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/366">https://github.com/aspnetzero/aspnet-ze ... issues/366</a>

    Will be fixed in a few days.

  • User Avatar
    0
    bsuranyi created

    Thank you!

  • User Avatar
    0
    alper created
    Support Team

    you are wellcome