Deck: REST-API: DueDate not saved on create card

Created on 7 Jan 2020  路  2Comments  路  Source: nextcloud/deck

Describe the bug
Hi, while using the REST-API we can not save the due date on card creation. The date is simply thrown away and null is returned.

To Reproduce
Steps to reproduce the behavior:

  1. curl https://user:[email protected]/index.php/apps/deck/api/v1.0/boards/98/stacks/481/cards -X POST -H 'OCS-APIRequest: true' -H 'Content-Type: application/json' -d '{"archived":false,"attachmentCount":0,"commentsUnread":0,"description":"test","duedate":"2020-01-04T23:00:34.326Z","notified":false,"order":0,"overdue":0,"stackId":481,"title":"dueDateTest","userId":4,"accountId":2,"localId":60,"status":2}' | jq
  2. see in the answer: duedate: null
  3. In the UI the date isn't shown, too
  4. Using a PUT afterwards setting the due date in the same format works

Expected behavior
The duedate should be saved at create

0. Needs triage bug

Most helpful comment

All 2 comments

Still happening in 1.0.0 alpha nightly. 馃槈

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Dubidubiduu picture Dubidubiduu  路  3Comments

poVoq picture poVoq  路  4Comments

juliushaertl picture juliushaertl  路  4Comments

ghost picture ghost  路  3Comments

scoopex picture scoopex  路  4Comments