Skip to content

Mediamanager Item within a RichText field is not working in retrofit mode. #23

@justsayantan

Description

@justsayantan

Mediamanager Item within a RichText field is not working while using retrofit mode. It is always getting failed to map the mediamanager item.
Error Details -

Sdl.Web.Common.DxaException: Unable to map field 'Content' to property of type 'Sdl.Web.Common.Models.RichText'. ---> Sdl.Web.Common.DxaException: No semantic mapping found between Schema 33274 (uuid:9389a8ce-0f19-44ee-9eb6-2d04d0c02c25:ExternalContentLibraryStubSchemamm) and model type 'Sdl.Web.Common.Models.MediaItem'
   at Sdl.Web.Common.Mapping.SemanticSchema.GetModelTypeFromSemanticMapping(Type baseModelType)

As a workaround we have created a subclass and extended the default MediaManagerDistribution model. But need proper fix for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions