Comment 1 for bug 534066

Revision history for this message
James Westby (james-w) wrote : Re: can't update bugtask importance via api

Martin,

Could you please dump the json of the task before you get the error, and then after a .lp_refresh()
after you get it. This will show whether something has changed, or there is an etag calculation issue.

This is a problem which there can be many causes for, and so we need to no which it is
before we can look at tackling it.

You can dump the json with something like

  print bug_task._wadl_resource._definition.representation

Doing bug_task.lp_refresh() will then fetch it again from the server and so printing the same
thing will show what changed, if anything.

Thanks,

James