Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.Problem/Motivation
The schema for the field configuration is completely missing from this module
Proposed resolution
Add the schema file, I have attached a patch for the 8.x-2.x branch.
This patch works around the fact that the raw output from checkboxes is stored in the configuration with the use of a special type (viewsreference.options). This is not a good pattern, don't copy this. A simple sequence of strings is much better but would require more refactoring in this case.
| Comment | File | Size | Author |
|---|---|---|---|
| schema.patch | 2.05 KB | sthomen |
Issue fork viewsreference-3382191
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
sthomen commentedApologies for the MR mess, I have not used them before and it's a bit cryptic.
Comment #5
keshavv commentedComment #6
seanbA schema has been added in #2925609: Update viewsreference_update_8103 fails if table name is too long and shortened by Drupal which has just been committed. Closing this one.