As you can see in the video below, in the contracts collection table view, everything is displayed without issue. But when I display the place related data “contracts”, most of the time, the place’s contract is not, until I access the contract summary view, the place is gathered, kept in buffer and displayed when I go back to the table view.
Hi @JeremyV to order to reproduce, can you explain me a little bit what kind of type is the reference field? smart field or not?
Have you any errors logs on your server or on your browser?
Can you share with us the anonymised result of the http call when you click on the related data compte client section?
Could you also share your forest-express-sequelize version of your project?
I can see a few recent release about this and I’m currently not able to reproduce this issue.
Have you override the /forest/places/:placesId/relationships/contracts routes?
When I try to reproduce your exemple, I have the include property inside the response payload
who contains all the information to display the relation.
I don’t understand why is not working i reproduced your issue and when i add the missing include it’s working.
Have you got any errors log when you add this includes?
Can you share with us the anonymized log of one record with includes?
GET /forest/places/185/relationships/contracts?timezone=Europe%2FParis&fields%5Bcontracts%5D=nom%20complet%2CdisplayName%2Crole%2CDate%20derniere%20connexion%20%2Cplace&fields%5Bplace%5D=displayName&page%5Bnumber%5D=1&page%5Bsize%5D=10&sort=-id 200 26431 - 2266.356 ms
I don’t understand why is not working with the include.
The issue comes from here, you need to have the place included in your record.
What is the version of Sequelize?