question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Resource not displayed on Refresh.

See original GitHub issue

What you were expecting: dataProvider getList to be called and displayed the resource the URL points to.

in this case /address_types

Screen Shot 2020-04-13 at 5 26 43 PM

What happened instead: dataProvider not called, displays nothing. (like when you go to the main endpoint for the first. time before navigating to any Resources)

Screen Shot 2020-04-13 at 5 27 04 PM

Steps to reproduce: Go to a resource using hashRouter. Watch getList being called in the dataProvider and react-admin displays the Resource. Refresh page

Related code: I have no customRoutes and haven’t messed with Routing at all.

Using api-platform/Admin as my base. HydraAdmin as my Admin component. Everything else is standard.

Environment

  • React-admin version: “react-admin”: “^3.4.0”,
  • @api-platform/admin: “^2.1.0”,
  • React version: “react”: “^16.13.1”,
  • Browser: Google Chrome

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
manohar719commented, May 20, 2020

Same issue with me

0reactions
fzaninottocommented, Jul 29, 2020

I still can’t see any problem with your CodeSandbox.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resource Summary Row Not Updating in Resource Usage ...
When I switch to the Resource Usage View the summary of hours for the resource reflect the original baselines hours and not the...
Read more >
Eclipse not automatically refreshing resources in src/main ...
I have to select the project and press F5 to get it to refresh. Is there a way to configure Eclipse to automatically...
Read more >
Resource List page doesn't refresh after I add a new...
When I add a new resource card by clicking "New", add details on resource card, and navigate back to list page, it doesn't...
Read more >
Static resource won't refresh - Salesforce Stack Exchange
I have a static resource with is a Javascript file of about 1mb. After successfully uploading the file, and clearing the cache of...
Read more >
Resource Governing Refresh Error - Microsoft Power BI ...
I have a dataset that is set to schedule refresh, but it keeps failing with the following error: Resource Governing: This operation was...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found