Skip to content

馃悰 PUT programs/{shortName} Does not update database with changes聽#434

Description

@joneubank

Describe the bug

Requests sent to update programs are being returned with 200OK and no content, and the updates provided in the request are not saved.

This request should be returning 200OK with the updated program information.

If there is a problem with the request an appropriate error response should be returned.

Steps To Reproduce

Steps to reproduce the behaviour:

  1. Send request to PUT programs/{shortName} with a copy of the existing program data as the request body but the description is changed.
  2. receive response of 200OK with no content
  3. Send request to GET programs/{shortName}
  4. receive response of the program but the updates are not present

Expected behaviour

The PUT request should be returning 200OK with the updated program information.

Some fields should not be able to be updated:

  • data center
  • membership type
  • shortName

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions