projects-post-fails-with-id-included

Bug #1661368 reported by Thomas Maddox
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
craton
New
Undecided
Unassigned

Bug Description

It appears that the /projects resource requires an Integer when supplying an ID attribute on POST, however the auto-generated one is a UUID. This probably needs to support UUIDs when POST'ing as well.

Symptoms: http://pastebin.com/qbiFVuLU

Basically, any way I tried to supply an ID failed with varying errors from the server. The only way I found to successfully create we to omit the ID attribute from the request.

Acceptance Criteria:
* A POST with a request payload like '{"id": "b9f10eca-66ac-4c27-9c13-9d01e65f96b5", "name": "test1"}' should succeed against the /projects endpoint of the REST API and create the correct project

description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.