Update to 2.0 loses data from '_data' column

Created on 9 March 2022, over 2 years ago
Updated 17 October 2023, about 1 year ago

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.

🐛 Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇩🇪Germany a.dmitriiev

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024