- First commit to issue fork.
Hi,
I have been using shs module (alpha4) as a dependency of my custom module and got errors when writing/runing tests.
The field formatter is missing a schema which causes issues when running tests. The formatter settings is also being saved with incorrect data type (its saving as integer and it should be boolean).
Tested with Drupal 8.6.7 and Drupal 8.6.9.
1. Create a custom module with content entity that use entity_reference_shs as a field formatter for one of its fields.
2. Create a view that displays the field which uses entity_reference_shs formatter.
3. Write Functional tests for the module and run them.
4. Running tests will fail with similar error:
Schema errors for views.view.viewid with the following errors: views.view.viewid:display.default.display_options.fields.country_term_id.settings.link missing schema
This is my case but I'm sure it might also cause other configuration related issues.
Attached is the patch which fixes it for me, the tests are passing and the config is being saved as boolean.
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.