Skip to content

Due date not saving when set via API #8179

Closed
@bobemoe

Description

@bobemoe
  • Gitea version (or commit ref): 1.10.0+dev-288-g7a8e299c7
  • Git version: 2.11.0
  • Operating system: Devuan Ascii (Debian Stretch)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

When using API to set a due date the timeline shows it has been set, but the due date comes back null.

curl -X PATCH "https://xxx/api/v1/repos/jhodges/test/issues/11" -H  "accept: application/json" -H  "Content-Type: application/json" -d "{ \"due_date\": \"2019-09-14T15:46:01.026Z\" }"

{"id":1116, ... "due_date":null, ...}

The same API call works just fine on try.gitea.io so it must be something local. Any ideas? edit: not true

Screenshots

You can see the timeline showing my attempts to add a date, yet still it is not shown in the due date field on the right bar.

2019-09-14-165952_1099x235_scrot

Metadata

Metadata

Assignees

No one assigned

    Labels

    modifies/apiThis PR adds API routes or modifies themtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions