GridFS doesn't work when used in an associations

Description

The problem seems to occur when the entity with the GridFS field is retrieved because it's in an association with another entity,
In this situation the GridFS field is retrieved as is, an objectId, and not converted in the corresponding GrdiFS type.

It seems the issue is that we don't convert the value in all the required places and need further investigation.

Environment

None

Assignee

Unassigned

Reporter

Davide D'Alto

Suitable for new contributors

Yes, likely