Problem/Motivation

Error:

module modal_page
Mise à jour #8001
Échec : Drupal\Core\Database\DatabaseExceptionWrapper : SQLSTATE[42S02]: Base table or view not found: 1146 Table 'sivbgg.modal' doesn't exist: INSERT INTO {modal} (uuid, title, body, type, pages, ok_label_button, langcode, created, changed) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8); Array ( [:db_insert_placeholder_0] => 4ac14871-5b76-47a5-a94f-cc62f358db15 [:db_insert_placeholder_1] => DoNotDelete [:db_insert_placeholder_2] => DoNotDelete [:db_insert_placeholder_3] => page [:db_insert_placeholder_4] => DoNotDelete [:db_insert_placeholder_5] => DoNotDelete [:db_insert_placeholder_6] => fr [:db_insert_placeholder_7] => 1597325926 [:db_insert_placeholder_8] => 1597325926 ) dans Drupal\modal_page\ModalPage->importModalConfigToEntity() (ligne 432 de C:\wamp64\www\SUA0723_SIG_Site\modules\contrib\modal_page\src\ModalPage.php).

Steps to reproduce

Upgrade drupal from 8.8.6 to 8.9.3
Update drupal/modal_page from 1.4 to 2.16
Run updb

Proposed resolution

Seems to be same as https://www.drupal.org/project/modal_page/issues/3162395, but the patche doesn't work for me

Contexte

Drupal: 8.9.3
PHP: 7.3.1

Thank you for your time.

Comments

Sandoran created an issue. See original summary.

Sandoran’s picture

Issue summary: View changes
avpaderno’s picture

Issue tags: -Drupal 8.x, -modal, -update
renatog’s picture

Category: Support request » Bug report

Okay. It looks a bug. Thanks a lot @sandoran. We'll test it

Sandoran’s picture

Thank you for your answer.

I've tried to downgrade Drupal/core and drupal/modal_page to their initial version (D: 8.8.6, M: 1.4.0).
Then I've updated only modal_page, and I'm steel getting the same issue.

Even updating modal_page to 2.0 does't works.

Thank you

paulocs’s picture

Status: Active » Needs work
StatusFileSize
new2.13 KB

Hello @all, I was trying to fix the problem and I did a small patch to fix it but it is not complete.

It seems that the update modal_page_update_8001 is not creating the necessary table 'modal' if the there is no modal so I create a patch for it. But than I had errors from modal_page_update_8202.

Unknown column 'base.body__value' in 'field list'

I could not detect the problem yet. Maybe someone can help.

Thanks!