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 10 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
SDKs
Target version:
Story points:
0.5
Release:
Release relationship:
Auto

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/2015Actions
Actions #1

Updated by Brett Smith almost 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 #3

Updated by Peter Amstutz almost 2 years ago

  • Release set to 60
Actions #4

Updated by Peter Amstutz 10 months ago

  • Target version set to Future
Actions

Also available in: Atom PDF