shish/shimmie2 — Issue #147: Error when 2+ images are uploaded with same tag
Author: DakuTree
Created: 2012-02-26 16:56:11+00:00
State: open

Internal Error
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'anytag' for key 'tag'
Query: INSERT INTO tags(tag) VALUES (:tag)

Keep having this error occur when two files are uploaded at same time with each sharing a tag.
Examples:

Image1: "blah" & Image2: "blah" uploaded at same time, error occurs.

Image1: "blah" & Image2: "notblah" uploaded at same time, no error.