Closed gisjedi closed 4 years ago
Won’t fix. Move to 7.
On Mon, Nov 11, 2019 at 10:51 AM Jonathan Meyer notifications@github.com wrote:
Description In Scale 5.x series, it is impossible to update the manifest from the API. This means any call to PATCH /api/v6/job-types/{name}/{version} will fail with InvalidJobField exception, if manifest key is included. This makes updates of an existing Seed job type impossible for patch versions.
Reproduction Steps Steps to reproduce the problem:
- Create a Seed Job Type via the API: POST /api/v6/job-types/
- Attempt to update by patching with a minimal payload: PATCH /api/v6/job-types/my-job/1.0.0/
{ "manifest": ... }
- Receive a 500 Server Error response.
- See the InvalidJobField exception raised in the webserver logs.
Expected behavior I'd expect it to work.
Version and Environment Details
- Scale API: 5.9.7 (note the API in 5.9.7 lies and says its 5.9.6)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ngageoint/scale/issues/1820?email_source=notifications&email_token=ADZJETBLDVGLHK3HE7VF6ETQTF5ORA5CNFSM4JLXLJ52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HYOOO4Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZJETBXZTQWGJWMRMGSUB3QTF5ORANCNFSM4JLXLJ5Q .
Closing as won't fix
Description In Scale 5.x series, it is impossible to update the manifest from the API. This means any call to PATCH /api/v6/job-types/{name}/{version} will fail with InvalidJobField exception, if
manifest
key is included. This makes updates of an existing Seed job type impossible for patch versions.Reproduction Steps Steps to reproduce the problem:
Expected behavior I'd expect it to work.
Version and Environment Details