- 🇬🇧United Kingdom -J-o-n-n-y-
Re-rolling patch from #16 as we still need string support for taxonomy IDs with this module.
In Drupal 8, entity IDs can be strings.
taxonomy_entity_index table assumes they're all integers which results in an SQL exception if this entity-type is enabled
Add a second table taxonomy_entity_index_string for entities with string IDs.
Alter the views integration to join this table in that scenario.
Test coverage using EntityTestStringId in core.
See \Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem::propertyDefinitions
for sample code to work out what sort of column the ID should be.
Needs work
1.0
Code
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Re-rolling patch from #16 as we still need string support for taxonomy IDs with this module.