I just upgraded to 7.x-1.0-beta3 and received the following error when running update.php.
The following updates returned messages
field_collection module
Update #7000
Failed: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '3-administer field collections' for key 'PRIMARY': UPDATE {role_permission} SET permission=:db_update_placeholder_0 WHERE (permission = :db_condition_placeholder_0) ; Array ( [:db_update_placeholder_0] => administer field collections [:db_condition_placeholder_0] => administer field-collections ) in field_collection_update_7000() (line 56 of /var/www-virtual/[domain].com/htdocs/sites/all/modules/field_collection/field_collection.install).
Comments
Comment #1
visuaLatte commentedSounds a little similar to the problem I have, although the error is somewhat different and happens at a different point. I wonder if the Entity API or the Field Collection module need to be updated to align with changes in Drupal 7.12.
Comment #2
usisha commentedI have the same problem. Reinstalled the module did not help. While I can not solve the problem.
Comment #3
visuaLatte commentedUpdate: it looks like this is a known issue with the core Entity system (includes/entity.inc). People have been posting this on the Entity Reference module pages. Turns out the issue is (evidently) not a Field Collection issue, but rather an entity system problem. I expect this will be fixed in Drupal core 7.13.
Comment #4
frozenrey commentedThanks for the update. i've been spending many hours to troubleshoot this..
Comment #5
abeger commentedCould you please post a link to the Entity issue? Thanks!
Comment #6
jmuzz commentedIt seems unlikely this is still an issue. Has anybody seen it lately? Some way to reproduce it would be helpful.
Comment #7
jmuzz commented