contao/test — Issue #2861: SQL error while creating user
Author: importer
Created: 2011-11-29 10:27:17+00:00
State: open
Labels: backend, Defect, Invalid

A admin got this error while creating a user:
Fatal error: Uncaught exception Exception with message Query error: Duplicate entry '' for key 2 (INSERT INTO tl_user (language, showHelp, thumbnails, useRTE, useCE, fancyUpload, inherit, alpty, fop, tstamp) VALUES ('de', 1, 1, 1, 1, '', 'group', 'a:3:{i:0;s:7:\"regular\";i:1;s:8:\"redirect\";i:2;s:7:\"forward\";}', 'a:3:{i:0;s:2:\"f1\";i:1;s:2:\"f2\";i:2;s:2:\"f3\";}', 0))

I don't know under what circumstances this error happens and i can't reproduce it. Maybe it helps.
Version is 2.9.3

--- _Originally created by olli17 on February 10th, 2011, at 12:26pm (ID 2861)_