abujehad139 / google-api-go-client

Automatically exported from code.google.com/p/google-api-go-client
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Calling TasksService::Patch with with Status set to "needsAction" requires Completed to be set to null #56

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Complete a task by setting Status to "completed"
2. Try to revert the status by setting Status to "needsAction"

What is the expected output? What do you see instead?
Setting status to "needsAction" for a task requires the "Completed" field to be 
set to null but that's currently not possible because the Completed field on 
Task is not a pointer.

Original issue reported on code.google.com by David.Ka...@gmail.com on 21 Apr 2014 at 5:33