api-platform / admin

A beautiful and fully-featured administration interface builder for hypermedia APIs
https://api-platform.com/docs/admin/
MIT License
480 stars 130 forks source link

Erroneous additional HTTP request when SolarLayout is used with HydraAdmin #509

Closed ameotoko closed 11 months ago

ameotoko commented 11 months ago

Hi, I have a problem using HydraAdmin with SolarLayout. A typical “Edit” view normally issues a getOne() request to an endpoint like /api/venues/37. When I set layout={SolarLayout}, the "Edit" view issues one additional HTTP request to /%2Fapi%2Fvenues%2F37, which fails with 404 and then just keeps retrying. Can someone give me pointers, how to debug this?

image

image

ameotoko commented 11 months ago

This turned out to be an issue on react-admin's side, they confirmed it.