when looking at the collection, flattened fields show correctly, when clicking on any and switching to details tab, the flattened fields show null and receive null as logs show
Expected behavior
details tab should show the flattened fields values
Context
Project name: WescoverContentAdmin
Team name: Operators
Environment name: Development | nimrodmaltz
Agent type & version: forest-express-mongoose: 8.7.4
Recent changes made on your end if any: added fieldsToFlatten attribute
Hello,
i have found a bug and i cant seem to debug it fully.
profile is a nested field and is showing correctly as shown:
Hi @nmz Have you got any error logs on your browser console?
Or on your Agent console?
Can you share with us the response payload of the details request?
yes, we have nested fields flattened on another collection and it works just fine.
i am unsure whats the difference…
there are no get methods overridden in the routes file, only post methods for smart actions.
We have just released a fix, can you upgrade forest-express-mongoose to version 8.7.9 please ? Tell me if it works properly
For every one else reading this thread, the issue was linked to the flattener used in conjunction with smart action restricted to segments. From version 8.7.9, they should work properly together.