[Rt-devel] BUG: RT race condition
Todd Chapman
todd at chaka.net
Tue Jan 30 15:04:25 EST 2007
On Tue, Jan 30, 2007 at 02:58:22PM -0500, Michael.ki wrote:
> We had the same issue. FWIW, I don't really think it's limited to
> MySQL. I can't comment on RT's use of other databases, nor can I
> comment on current RT (we're on RT2 still). However, digging through
> the RT2 code, it seemed like there wasn't any consideration for this
> possibility - there was no check to see if someone else owned the
> ticket, it was just taken. I think the assumption was you wouldn't see
> the 'TAKE' link unless the ticket wasn't taken. It's been awhile since
> I looked in to this, but that is my recollection.
>
> What we did to get around this was to have the Display.html page check
> the ownership of the ticket when displaying, and if it wasn't the same
> user as was logged in, we put a message at the top stating something
> like "you do not own this ticket" in big red letters, just to let people
> know that their 'take' process didn't work as they thought.
>
I found the problem in RT's code. I will be submitting a patch soon.
-Todd
More information about the Rt-devel
mailing list