Comment 3 for bug 432766

Revision history for this message
Edwin Grubbs (edwin-grubbs) wrote : Re: [Bug 432766] Re: Cannot add a milestone

On a whim, I tried recreating the error by changing the name of
another series to "releases", and boom. The reason this causes the
error is that IProduct.releases is an exported attribute name, and
https://edge.launchpad.net/api/beta/divisiui/releases references that
attribute. If you try the "series", you will get the same error.
"name" and "title" won't give you a "No such operation" error, since
it ignores the ws.op=get_timeline parameter, since REST method calls
can only occur on objects that can have methods exported.

Changing the name of the series from "releases" will fix both the
timeline graph and the "Method not allowed" error when creating a
milestone.

I will assign this bug to Leonard, since it is a lazr.restful issue.