After upgrading to 1.2, when I switch theme using the Switch Theme, I get the following error:

user warning: Duplicate entry '1' for key 1 query: INSERT copyright_user (cpyid, uid) VALUES (0, 1) in /public_html/includes/database.mysql.inc on line 172.

The copyright message displays fine, and I'm not sure what this error means... Also when I upgraded from 1.0 to 1.2, I received 2 error messages after running the update.php, I tried uninstall/reinstall the module and the problem did not go away.

CommentFileSizeAuthor
#1 copyright_user_default_license.patch1.12 KBtoemaz

Comments

toemaz’s picture

Status: Active » Needs review
StatusFileSize
new1.12 KB

I didn't have to reproduce the problem to figure out that your issue is indeed a bug.

Find the patch attached. Not tested yet so feel free to review!

Robrecht Jacques’s picture

Status: Needs review » Fixed

Fixed in 5.x-1.3.

Please test and reopen this issue if the problem remains.

Thanks toemaz!

Anonymous’s picture

Status: Fixed » Closed (fixed)