- π¨π¦Canada sagesolutions
I tested patch #26 on a clean install Drupal 9.5.3 with PHP 8.1.
Before, I was getting the following errors
```
[error] An error occurred while notifying the creation of the id field storage definition: "Exception thrown while performing a schema update. Cannot add field 'contact_message.id': table doesn't exist." in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1594 of /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
[error] An error occurred while notifying the creation of the created field storage definition: "Exception thrown while performing a schema update. Cannot add field 'contact_message.created': table doesn't exist." in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1594 of /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
[error] An error occurred while notifying the creation of the uid field storage definition: "Exception thrown while performing a schema update. Cannot add field 'contact_message.uid': table doesn't exist." in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1594 of /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
[error] An error occurred while notifying the creation of the ip_address field storage definition: "Exception thrown while performing a schema update. Cannot add field 'contact_message.ip_address': table doesn't exist." in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1594 of /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
```
After applying patch #26 The module installed properly with no errors. - πΊπΈUnited States AaronBauman Philadelphia
Looks like another duplicate issue, closed on this one.
π Fields cannot be created when installing Closed: duplicate - Merge request !5Issue #3053497: Change install hook to module preinstall hook. β (Merged) created by godotislate
- last update
8 months ago 8 pass - last update
8 months ago 8 pass - last update
8 months ago 3 pass, 3 fail - last update
8 months ago 4 pass, 1 fail - last update
8 months ago 4 pass, 1 fail +1 for the patch in #26 Couldn't install the module through importing config without the schema.
- πͺπ¨Ecuador andres.torres
+1 for #26, Working on Drupal 10.2.6 fresh install.
- πΊπΈUnited States inversed
#26 works for me using existing config sync yaml on a fresh install.
-
Berdir β
committed 17e18625 on 8.x-1.x authored by
godotislate β
Issue #3053497 by godotislate, RoSk0, mstef, kleiton_rodrigues, Berdir:...
-
Berdir β
committed 17e18625 on 8.x-1.x authored by
godotislate β
- Status changed to Fixed
6 days ago 11:41am 22 June 2024