You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Virtual relationship and upload fields with a reference are never populated #19251
A relationship or upload field with a virtual reference (e.g. { type: 'upload', relationTo: 'media', virtual: 'place.image' }) is never populated. It returns the raw ID at every depth, while the referenced field itself (place.image) is populated at depth >= 2. According to the docs on virtual fields, such a field should behave like a regular relationship or upload field and return the populated document at depth >= 1. This also means it cannot be used as admin.useAsThumbnail.
Activity