Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to 5.1.1: Integrity constraint violation on create unique index #130

Open
russclewett-mw opened this issue Jan 15, 2025 · 3 comments

Comments

@russclewett-mw
Copy link

CMS version: 5.9.9

When upgrading from 5.0.3 to 5.1.1 the migration fails and I get the following error

create unique index idx_mifngscdhwctusonlnxihrrbvtovzxngfwij on {{%googlemaps_addresses}} (elementId,siteId,fieldId) ...Exception: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '5774-1-61' for key 'googlemaps_addresses.idx_mifngscdhwctusonlnxihrrbvtovzxngfwij'
@bfjare
Copy link

bfjare commented Jan 18, 2025

I'm seeing this as well

@myleshyson
Copy link

+1 I'm also experiencing this.

@myleshyson
Copy link

myleshyson commented Jan 23, 2025

So far i'm noticing it's snagging on revisions with a google map field. Something in that update migration is duplicating the address for a revision, then complaining about the duplicate saying there's already an address with that element id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants