Project

General

Profile

Actions

Bug #6921

open

[SDKs] `arv create` creates an object from an empty file

Added by Brett Smith over 9 years ago. Updated over 3 years ago.

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

0%

Estimated time:
Story points:
0.5

Description

When you run arv create, you start with a file that has {} in it. You're expected to fill in the necessary JSON.

If you remove those braces and exit the editor with an empty file, arv create still tries to create an object—presumably with an empty body.

This surprised me. I expected it to follow the convention of git commit, git rebase, etc., where saving an empty action file causes the tool to abort.


Related issues 1 (0 open1 closed)

Has duplicate Arvados - Bug #8088: create pipeline template creates empty pipelinesDuplicate12/29/2015

Actions
Actions #1

Updated by Brett Smith about 9 years ago

#8088 points out that if you exit your editor without saving, that shouldn't create an object either.

Actions #2

Updated by Ward Vandewege over 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions

Also available in: Atom PDF