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

Status

Assignee

Unassigned

Reporter

Davide D'Alto

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

Yes, likely

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Priority

Major
Configure