I encounter an issue loading one specific smart relationship and I can’t find the reason.
I have 2 smart collections (Client and Driver) based on the same real collection (User).
The schema for each smart collection is quite similar. The mail difference are filters and other specific display.
I have already succesfully implemented smart relationship for each of them.
But when I try to add a new has many smart relationship (notificationList), it works fine with my client smart collection but not with my driver smart collection.
I have implemented the relatioships the same way for each collection:
Can you provide me the declaration of your User collection and the definition of your Client and Driver smart collection please. It would help me to reproduce.
Hi @Florian_Belliard could you also share with us the way you serialize drivers list response?
If no request is triggered by the browser when you access the “notificationsList”, it is probably because the resource link to “notificationsList” is not transmitted or well serialized in the drivers context.
(If it works for clients, it is probably well serialized in this case).
Unfortunately I haven’t been able ro reproduce on my end.
As Arnaud said, knowing that the requests is not sent means there is an issue on the retrieval of the Drivers. To see which difference there might be, could you share with me the get route implementation for both the Drivers and Clients collection?
I seem to be having a very similar issue. After updating from v4 all the way to v7 none of my smart relationships seem to be loading anything, and there is no requests being made either in the network tab.
If someone could elaborate of the solution a bit, I would be really appreciate it.