[Tickets #9760] Re: QUERY FAILED: Duplicate entry 'xxx' for key 'rampage_users_user_name' INSERT INTO `rampage_users` (user_name) VALUES ('xxx')

bugs at horde.org bugs at horde.org
Fri Apr 1 13:34:00 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9760
------------------------------------------------------------------------------
  Ticket             | 9760
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | QUERY FAILED: Duplicate entry 'xxx' for key
                     | 'rampage_users_user_name' INSERT INTO `rampage_users`
                     | (user_name) VALUES ('xxx')
  Queue              | Kronolith
  Version            | 3.0-RC2
  Type               | Bug
-State              | Assigned
+State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2011-04-01 13:34) wrote:

I am unable to reproduce this, both with a fresh set of tag tables,  
and with existing tag info present.

Can you:

in content/lib/Users/Manager.php after line 72 add:
Horde::debug($sql);
Horde::debug($this->_db->selectAll($sql));

and then after line 79 add:
Horde::debug($userName);

the results will be placed in a file named 'horde_debug.txt' in your  
temporary directory. Then please post the results here.






More information about the bugs mailing list