When adding contacts correctly, a unique username must be provided due to the schema definition (and also the MySQL default implementation).
If a second contact is added with a blank username, the unhelpful message "duplicate key for field 3" is provided.
At a minimum, a better error message should be provided. Alternately, multiple blank username should be allowed.
Log in to post a comment.