Project

General

Profile

Actions

Bug #6439

open

[Workbench] Copying jobs causes "SubmitIdReused" error if submit_id is not null

Added by Tom Clegg almost 10 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Workbench
Target version:
-
Start date:
06/26/2015
Due date:
% Done:

0%

Estimated time:
Story points:
0.5

Description

While copying jobs and pipelines into a project:

Started POST "/actions" for x.x.x.x at 2015-06-26 21:01:06 +0000
Processing by ActionsController#post as JSON
  Parameters: {"uuid"=>"...", "copy_selections_into_project"=>"true", "selection_param"=>"uuid", "success"=>"page-refresh", "selection"=>[...]}
#<ArvadosApiClient::ApiErrorResponseException: #<Job::SubmitIdReused: Job::SubmitIdReused> [API: 422]>

Submit_id is supposed to be NULL or unique, but of course it isn't unique if you make a copy of a job with a non-NULL submit_id.

The submit_id should be set to null when copying a job.

Actions

Also available in: Atom PDF