[Bug 71858] Could not create UserTuple for workflow_user_

2014-11-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71858

--- Comment #6 from Erik Bernhardson ebernhard...@wikimedia.org ---
*** Bug 73153 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71858] Could not create UserTuple for workflow_user_

2014-11-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71858

Erik Bernhardson ebernhard...@wikimedia.org changed:

   What|Removed |Added

   Priority|Unprioritized   |High

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71858] Could not create UserTuple for workflow_user_

2014-11-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71858

Gerrit Notification Bot gerritad...@wikimedia.org changed:

   What|Removed |Added

 Status|NEW |PATCH_TO_REVIEW

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71858] Could not create UserTuple for workflow_user_

2014-11-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71858

--- Comment #5 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 171466 had a related patch set uploaded by EBernhardson:
Bug: prod db contains rows with both *_user_id and *_user_ip set

https://gerrit.wikimedia.org/r/171466

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71858] Could not create UserTuple for workflow_user_

2014-10-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71858

sp...@wikimedia.org changed:

   What|Removed |Added

   See Also||https://bugzilla.wikimedia.
   ||org/show_bug.cgi?id=72280

--- Comment #4 from sp...@wikimedia.org ---
I think the same Could not create UserTuple' exception silently aborts the
display of my recent
http://ee-flow.wmflabs.org/wiki/Special:Contributions/Spage without any
indication there's been a failure.

Can failure to load provide a dummy object so at least the rest of the page is
visible?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71858] Could not create UserTuple for workflow_user_

2014-10-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71858

--- Comment #1 from Matthew Flaschen mflasc...@wikimedia.org ---
There is illegal state in the database:

select * from testwiki.flow_workflow where workflow_user_id = 0 and
workflow_user_ip = '';

3 matching rows, including the one that causes this error.

Either user_id can be 0 or user_ip can be unset, but one has to be a valid
value.  Somehow this is/was not being enforced somewhere.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71858] Could not create UserTuple for workflow_user_

2014-10-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71858

--- Comment #2 from Matthew Flaschen mflasc...@wikimedia.org ---
Erik suggested having UserTuple enforce a valid state.  I think this can be
done in the constructor.  That will then hopefully reveal what is creating
bogus UserTuples (since it will throw before it makes it to the database).

This may require changing IRCLineUrlFormatter to not construct mock workflows
(the UserTuple logic can't be air-tight if there is an exception for this (as
there currently is).

We also need to figure out what to do with the already-corrupt data on the test
wiki.  Simplest solution is probably to assign it to someone manually.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71858] Could not create UserTuple for workflow_user_

2014-10-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71858

Matthew Flaschen mflasc...@wikimedia.org changed:

   What|Removed |Added

   Assignee|mflasc...@wikimedia.org |wikibugs-l@lists.wikimedia.
   ||org

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71858] Could not create UserTuple for workflow_user_

2014-10-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71858

--- Comment #3 from Danny Horn dh...@wikimedia.org ---
in backlog: https://trello.com/c/lle97F1m

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71858] Could not create UserTuple for workflow_user_

2014-10-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71858

Matthew Flaschen mflasc...@wikimedia.org changed:

   What|Removed |Added

   Assignee|wikibugs-l@lists.wikimedia. |mflasc...@wikimedia.org
   |org |

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l