I just updated the module and the database. I cleared the cache, but there is an error in the dashboard:

Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
Simplenews subscriber
The UUID field needs to be updated.

Comments

zenimagine created an issue. See original summary.

Drupal_hippie’s picture

Same here.

plessas’s picture

After updating to 3.0.0-beta3 from 3.0.0-beta2 I am also facing the same problem.

krabbe’s picture

Same happened to me after updating from 3.0.0-beta2.

jgraca’s picture

+1
Kindly request to support to solve this issue.

jcnventura’s picture

Me too. Also ran database update on drush. No errors reported. A 2nd db update reports nothing to do. Even forcing a rerun of the simplenews_update_830008() hook like the following, does nothing:

$drush php
>>> require "/var/www/web/modules/contrib/simplenews/simplenews.install";
=> 1
>>> simplenews_update_830008();
=> null
jcnventura’s picture

Priority: Critical » Major
Parent issue: » #3266989: Subscriber does not declare uuid entity key

It's annoying, but certainly, not critical..

kreatil’s picture

+1

dbourrion’s picture

+1

jcnventura’s picture

Title: Definition of entities and/or fields do not match » Mismatched entity and/or field definitions
Issue summary: View changes

From the screenshot, I think that @zenimagine is running his system in French, and translated the strings back to English. Unfortunately, these do not correspond to the actual strings provided by Drupal. I'm updating the issue summary with the English strings provided by Drupal.

This was one probable reason why a duplicated issue with the right title was created in the meantime (#3316797: Mismatched entity and/or field definitions).

jcnventura’s picture

Status: Active » Needs review
StatusFileSize
new1.29 KB

This should fix the problem, at least it did for me. I chose to set required to false, in order to respect the same database definition from beta2.

adamps’s picture

Caused by #3266989: Subscriber does not declare uuid entity key. simplenews_update_830008() should work but doesn't.

See https://www.drupal.org/node/2554097, and search for // @todo The above should be enough,

  • AdamPS committed 474ed06 on 3.x
    Issue #3315497 by jcnventura, AdamPS: Mismatched entity and/or field...
adamps’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.