Open laryn opened 1 month ago
~That would also mean a dependency on Entity Plus.~
The fix is correct, but there is no need to depend on Entity Plus. The way it works:
socialfield_property_callback_property_info_callback
will never be called, and the setter/getter will never be usedEnabling Entity Plus would allow someone to use entity metadata wrappers to set the field values. But this is not required for the module to function.
To clarify, this change should be done, but there is no need to depend on E+
Thanks @argiepiano!
I was searching my code and saw this. I don't have steps to reproduce anything but noticed that these getter and setter function names are wrong:
entity_metadata_field_verbatim_get
should beentity_plus_metadata_field_verbatim_get
entity_metadata_field_verbatim_set
should beentity_plus_metadata_field_verbatim_set
Reference: https://github.com/backdrop-contrib/entity_plus/issues/33#issuecomment-984298911