On Thursday, February 21, 2013 11:10:26 PM UTC-8, RjOllos wrote:

> On Tuesday, February 19, 2013 3:21:39 PM UTC-8, Anders Knudsen wrote:
>
>> [...]
>> When I try to modify an existing ticket, I get the message at the top of 
>> the ticket page:
>>
>> Warning: Sorry, can not save your changes. This ticket has been modified 
>> by someone else since you started
>>
>>
> There is only one call to _validate_ticket in the codebase for which the 
> third argument, force_collision_check, is passed, and therefore has the 
> possibility of being True (the default is False). The only way you can get 
> that message is if force_collision is True. So the issue would seem to lie 
> somewhere in this block of code:
>
> http://trac.edgewall.org/browser/trunk/trac/ticket/web_ui.py?rev=11493&marks=583-623#L570
>
> But if you are not seeing one of the other warning messages displayed on 
> the screen, then I'm not seeing how you could be seeing the collision 
> message. Every instance in which valid is set to False (which drives 
> force_collision being True) is accompanied by a distinct warning message. 
> That would seem to be the part of the code to look at if you wish to debug 
> though.
>


What I said here is not really true. I failed to dig deep enough:

http://trac.edgewall.org/browser/trunk/trac/ticket/web_ui.py?rev=11493&marks=1247#L1212

In Trac 1.0, when there is a collision, there should be a message like 
this, above the comment edit box:

<https://lh5.googleusercontent.com/-BOVN7fWXU4Q/UScdfjMvptI/AAAAAAAAAdU/Dv4xPkOoqPg/s1600/Warning.png>



However, you should still be able to submit. I even tried this with 
JavaScript disabled, and it still works fine, just requires the Submit 
button to be pressed twice. Do you see a message like the one shown?

A plugin causing a problem is always the first best guess. I don't see how 
a plugin could be causing this issue, but that's just lack of imagination 
on my part.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to