0 users online. Create an account or sign in to join them.Users

Search

Hello everyone,

I think I'm running into a bug. I have a section with an author field with 'Allow selection of multiple authors'.

When I try to create or save an entry with muliple author selected I get an error:

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')

I'm using 2.2.5. Is this really bad doctor?

Antoine.

It's a bug, can you file it on Github?

You can fix it by removing the entry_id UNIQUE KEY constraint from that table.

Ok I will, thanks Brendo.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details