Skip to content
Snippets Groups Projects
Commit dfff40c4 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

don't let CARTA url overwrite metadata

parent 2155f882
No related branches found
Tags end-of-sprint-16.999
1 merge request!989don't let CARTA url overwrite metadata
Pipeline #5794 passed
Pipeline: workspaces

#5796

    Pipeline: workspaces

    #5795

      ......@@ -246,7 +246,11 @@ class CapabilityService(CapabilityServiceIF):
      execution = self.capability_info.lookup_execution_by_workflow_request_id(parent_wf_request_id)
      request_version = execution.version
      request_version.workflow_metadata = {"carta_url": message["carta_url"]}
      workflow_info = request_version.workflow_metadata
      if workflow_info:
      request_version.workflow_metadata = {**workflow_info, "carta_url": message["carta_url"]}
      else:
      request_version.workflow_metadata = {"carta_url": message["carta_url"]}
      self.capability_info.save_entity(request_version)
      ......
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Finish editing this message first!
      Please register or to comment