Let's say I have a dashboard where i have widget with total number of all users in the system who have admin rights. By clicking on the badge user is navigated to users/?filter=%7B%22isAdmin%22%3Atrue%7D&page=1&perPage=10&_k=fvzeew
If it's the first time i navigate to user list, admin-on-rest will request users with the filter taken from URL.
But when after this I try to navigate to all Users list (the same component) with no params in URL
(users?_k=56s0rx) I will see the data from previous request.
In console:
handleFetch has been cancelled
redux-saga/lib/internal/utils.js?
If you could help me.. Thank you!
This seems to be happening for me as well, but not on every machine. On my MBP, it functions fine after a save, but on a different machine (running Windows), the list will not refresh after saving a created item. The URL is updated but nothing happens except the handleFetch has been cancelled bit in the console.
This also happens when after saving edits or confirming a delete. The difference being that after those events, the filter URL will update, but the data itself does not.
Case 1:
EnterCase 2:
Again, this only happens on the computer running Windows, but I am not positive that is the reason. This functions fine on my MBP. I still see handleFetch has been cancelled in the console, but the next events still fire and the fetch is completed.
just in case I face the problem on Ubuntu 16.04
@mstmustisnt Did I describe your issue adequately as well?
@MattWilliamsDev yes, exactly
@mstmustisnt @MattWilliamsDev Having the same issue:
When reloading the page entirely I see the new record.
@rweindl I can confirm that the record does come back, but data is not refreshed/updated on the front-end.
While exploring the issue a bit further earlier today, I also found that it does work when the app is served from a Mac and is viewed via a Windows machine on the network via network IP (ex: http://123.123.1.120:3002).
It does not work if the app is hosted on the Windows machine and visited on the Windows machine, though I have not attempted visiting the Windows machine from my Mac to test the alternative. I will post the results here once I have done so.
I think #137 solves this. I don't understand the windows/Mac difference though.
Hi @fzaninotto thanks for your effort. The refresh of the list after deleting an object is still not working on my end? How is it running on your end @MattWilliamsDev?
@rweindl #163 fixes the list after deletion.
Is this still a thing, or can I close the issue?
No news for some time, closing. Feel free to reopen if you can provide a failing test case.