Hello,
i've got some errors while installation of the Contract Storage module.
Furthermore the SMTP Authentication Support module stopped working after the installation of Contract Storage.
An error occurred while notifying the creation of the created field storage definition: "!message" in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1456 of xxx/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
An error occurred while notifying the creation of the uid field storage definition: "!message" in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1456 of xxx/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
An error occurred while notifying the creation of the ip_address field storage definition: "!message" in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1456 of xxx/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
After that i tried to uninstall the Module, because I try to avoid errors.
But than i got that:
Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.Contactmessage
•The Message-ID field needs to be uninstalled.
This is something like this, but not the same I guess.
so what do you think. :)
Information about my System:
Drupal 8.1.7
Comment | File | Size | Author |
---|---|---|---|
#7 | error_while_field-2784741-7.patch | 724 bytes | Bambell |
|
Comments
Comment #2
Bambell CreditAttribution: Bambell at MD Systems GmbH commentedI couldn't reproduce the exact same error, but I got the following in status report after enabling Contact Storage on a fresh Drupal installation :
Changed the function update a bit to get rid of that error.
Bumping to higher priority.
Comment #3
Berdirwe forgot them on install correct, but we can't share code like that in update functions. We might chang those methods again, and then everyone needs to be updated update and each update function needs to make the exact change that it is supposed to.
Has to be duplicated, unfortunately.
Comment #4
Bambell CreditAttribution: Bambell at MD Systems GmbH commentedHere's a patch, if I understood correctly ..?
Comment #5
andypostminor
Comment #6
BerdirNo, we have the update function already. your change to the install hook was correct, just don't touch the update function.
Comment #7
Bambell CreditAttribution: Bambell at MD Systems GmbH commentedHere we go (I think?).
Comment #8
BerdirI think so too :)
Comment #9
larowlanthanks!
Comment #12
durum CreditAttribution: durum commentedThis is still happening in latest beta.
Comment #13
durum CreditAttribution: durum commentedHey guys, it's still happening with fields below:
ip_address
uid
id
created
Comment #14
rominronin CreditAttribution: rominronin at Identum Communications GmbH commentedThis issue still exists (should probably re-open it, and close https://www.drupal.org/project/contact_storage/issues/3053497).