Update to 8.x-2.0-beta from 1.8 causes fields lost

Created on 11 August 2020, over 4 years ago
Updated 17 October 2023, over 1 year ago

We updated the Views Reference module from 8.x-1.8 to 8.x-2.0-beta (also tried the lastes dev) in a Drupal 9 site.

Running update.php script caused this error:

viewsreference module

Update #8103

Failed: Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'd9_bauhaus.paragraph_revision__field_paragraph_views_reference' doesn't exist: SELECT paragraph_revision__field_paragraph_views_reference.* FROM {paragraph_revision__field_paragraph_views_reference} "paragraph_revision__field_paragraph_views_reference"; Array ( ) in viewsreference_update_8103() (line 52 of /public_html/modules/viewsreference/viewsreference.install).

I used Views Reference as a field of a Paragraph. After the update, all data of views reference fields were gone.

🐛 Bug report
Status

Closed: duplicate

Component

Code

Created by

🇻🇳Vietnam tuthanh

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