Problem/Motivation
After updating to version 3.1.3 and running the database update to make the admin title field revisionable, all the previously existing values for admin title are gone.
Steps to reproduce
- on a fresh Drupal site, install Paragraph blocks 3.1.2
- create a paragraph type and add it to a content type
- create content add a paragraph with an admin title
- upgrade to Paragraph blocks 3.1.3 and run the database update
- verify the admin title in the paragraph you just created is gone
Proposed resolution
Retain existing Admin title values.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3328910-4.patch | 3.23 KB | basvredeling |
| #2 | 3328910.patch | 3.09 KB | uditrawat |
Comments
Comment #2
uditrawatAdded a patch to restore data to the revision table.
Comment #3
uditrawatComment #4
basvredeling@melissag does the supplied patch fix your problem when you re-run update hook
paragraph_blocks_update_9301()? Or do we need to fix this retroactively and move the data migration to a new update hook?Comment #7
basvredelingComment #8
basvredelingThanks for your contribution @uditrawat
Comment #9
basvredeling