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

Multiple author entry save error #986

Closed
a-ntoine opened this issue Jan 10, 2012 · 1 comment
Closed

Multiple author entry save error #986

a-ntoine opened this issue Jan 10, 2012 · 1 comment
Assignees
Milestone

Comments

@a-ntoine
Copy link

When creating an entry with multiple authors (author field with 'Allow selection of multiple authors') an error occur:

Duplicate entry '27' for key 'entry_id'
An error occurred while attempting to execute the following query
INSERT INTO sym_entries_data_19 (entry_id, author_id) VALUES ('27', '2'), ('27', '3')

@ghost ghost assigned brendo Jan 10, 2012
@brendo
Copy link
Member

brendo commented Jan 10, 2012

Not to self, alter the UNIQUE KEY constraint so that it's a composite key of entry_id and author_id.

@brendo brendo closed this as completed in d444f1b Jan 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants