Upgraded Acquia Purge to 7.x-1.0 and ran update.php immediately as per the release notes. Got this issue after the DB updates ran:
The following updates returned messages
acquia_purge module
Update #7103
Failed: PDOException : SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '3-purge on-screen' for key 'PRIMARY': UPDATE {role_permission} SET permission=:db_update_placeholder_0 WHERE (permission = :db_condition_placeholder_0) AND (module = :db_condition_placeholder_1) ; Array ( [:db_update_placeholder_0] => purge on-screen [:db_condition_placeholder_0] => purge notification [:db_condition_placeholder_1] => acquia_purge ) in acquia_purge_update_7103() (line 142 in /mnt/www/html/SITENAME/docroot/sites/all/modules/contrib/acquia_purge/acquia_purge.install).From:
7103 - Rename the 'purge notification' permission into 'purge on-screen'. Since version 7.x-1.0, this permission got renamed as its name became too specific. Before it only reflected on the on-screen purging progress bar but is now also used for permission to the manual purge form blocks.
I could replicate this issue on 2 different sites. Note that the renaming seems to have applied, still:
Acquia Purge
Purge on-screen
Process purges visually using a progress bar and grant access to the editorial manual purge blocks.| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2334285.patch | 1.83 KB | nielsvm |
Comments
Comment #1
nielsvm commentedComment #2
nielsvm commentedOkay, let's test this anavarre.
Comment #3
nielsvm commentedComment #4
nielsvm commented