- Merge request !5Fix error: Call to undefined method IntegerItem::getPossibleOptions() → (Open) created by michaellenahan
- First commit to issue fork.
On my website, when I go to the revisions for a node:
https://www.example.org/node/4953/revisions/view/41345/41346/split_fields
We get the following error, when the diff module is comparing fields of type "List (integer)".
Call to undefined method Drupal\Core\Field\Plugin\Field\FieldType\IntegerItem::getPossibleOptions()
docroot/modules/contrib/diff/src/Plugin/diff/Field/ListFieldBuilder.php
line 34
My fix for this was to check for the IntegerItem field type in the code.
Needs review
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.