Skip to content

Provisioner returns incorrect version history on POST #4455

@josephjclark

Description

@josephjclark

When posting project state to the provisioner API, the provisioner returns to you the update project.

But the version history returned here is incorrect, and does not reflect the latest version. I suspect the provisioner is just echoing the version back, rather than generating correct values

Repro is probably easier in a test environment, but these I think are the steps:

  • Get a project state file locally
  • Make note of the version_history on a workflow
  • Edit the workflow and POST the state to the provisioner
  • Make note of the returned version history. I think it's the same as what was posted.
  • Now GET the same project from the provisioner
  • Check the version history on the workflow: it is different to to the value returned previously on post

(I haven't done this directly as listed above, but I see it in the CLI)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions