Multiple primitive items (eg string, text, file) are returning weird nulls or arrays. On digging it appears to be a deeper issue on how multiples are handled.
- Create field "text" with single value
- Create field "texts" with unlimited value
Result is lots of nulls in the wrong places (screenshots attached)
- Change all DataManager fields to use a common structure of field -> value/plugin
- Introduce FieldProducerPluginBase and that accepts resolve(FieldItemListInterface)
- Add FieldProducerPluginInterface that adds function resolveFieldItem(FieldItemInterface)
- Process each item in a field and return as single or array based on field definition.
- Remove field_first and entity_reference switching
- Add a hook to help extension of results
- Unsure if metatag works, i didnt alter it, but i also didnt get it to work?
- A few functions in DataManager are missing doc blocks. Unsure of their descriptions.
- NA
- Cleanup DataManager, add reusable functionality for fields definitions.
- Add DI in DataManager
- Quite a few. But at a minimum, multiple fields now work.
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.