Comment 35 for bug 336866

Revision history for this message
James Westby (james-w) wrote : Re: [Bug 336866] Re: When adding tag or updating description, lp_save() gives "HTTP Error 412: Precondition Failed"

On Tue, 02 Mar 2010 12:39:09 -0000, Martin Pitt <email address hidden> wrote:
> The window for that is pretty small, since it's an automated script with
> not much in between. Martin-Eric said that he tried this a number of
> times, and other people saw this as well.
>
> Also, it's perfectly reproducible in the Apport test suite if I remove
> all the workarounds for this bug.

Ok, thanks. I don't do either of these things in scripts myself, so
haven't seen it.

I did however do things with branches over the API that was getting 412
a lot, but this came down to automated tasks that LP does in the
background the modify the branch happening in about the same amount of
time after pushing the branch that my script took to get to the API
stage, leading to legitimate 412 errors that were easy to work around
once I understood what was going on.

Thanks,

James