Problem/Motivation
'_data' column existed before version 2.0 of the module. It was not storing argument and title values there before, because there were dedicated columns for them. But during update_8103 the data in column `_data` is overwritten and whatever was there is deleted.
Steps to reproduce
I am not sure that this use case happens to everyone, but in my project I was using `_data` column to store additional settings, that are now made as plugins: pager limit, title override, etc. All the values were stored in that column.
Proposed resolution
During update_8103 merge existing values from `_data` column with argument and title values.
Remaining tasks
Create MR or patch.
User interface changes
No changes.
API changes
No changes.
Data model changes
No changes.
Issue fork viewsreference-3268551
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 #3
a.dmitriiev commentedComment #5
seanbCould you check if #2925609: Update viewsreference_update_8103 fails if table name is too long and shortened by Drupal solves the issue?
Comment #6
seanbClosed as duplicate of #3268551: Update to 2.0 loses data from '_data' column.