blipson89 / Synthesis

Synthesis is a universal object mapper for Sitecore
MIT License
75 stars 25 forks source link

"Multilist with Search" field type missing from standard configuration #100

Closed mattbarry closed 3 years ago

mattbarry commented 3 years ago

Do you want to request a feature or report a bug?

It's not a bug, it's a feature!

What is the current behavior?

Synthesis is mapping the "Multilist with Search" field type to TextField/ITextField with the OOTB config. I'm assuming this is the default when a field mapping can't be found.

If the current behavior is a bug, please provide the steps to reproduce.

Just add a "Multilist with Search" field to any template and generate the Syntheis model.

What is the expected behavior?

The "Multilist with Search" field type gets mapped to the ItemReferenceListField/IItemReferenceListField types. I patched it into my Synthesis config and confirmed it works as expected:

<fieldMappings hint="raw:AddMapping">
  <map field="Multilist with Search" type="Synthesis.FieldTypes.ItemReferenceListField, Synthesis" interface="Synthesis.FieldTypes.Interfaces.IItemReferenceListField, Synthesis" />
</fieldMappings>

Please mention your Sitecore version and Synthesis version. Sitecore 9.3.0 and Synthesis 9.1.2.1

blipson89 commented 3 years ago

Good catch - I'll get this added to next week's deploy. Thanks!

blipson89 commented 3 years ago

By the way, congrats on logging the

:100:th Issue

:tada:

blipson89 commented 3 years ago

Released in 9.1.4