Skip to content

CLI storage versions shows 'null' as VERSION ID instead of actual version ID #460

@poyrazK

Description

@poyrazK

Why is this an issue?

When listing object versions with cloud storage versions test-bucket myfile, the VERSION ID column shows null even though the object was just uploaded. This makes the command output useless for identifying specific versions.

What is causing it?

The API likely returns null or empty string for the version ID, which is then displayed as-is. Many object storage systems use null version IDs for non-versioned objects.

How can it be solved?

Either:

  1. Filter out null version IDs from the output, or
  2. Show a placeholder like "(null)" or "-" for unversioned objects, or
  3. Hide the VERSION ID column when all entries have null values

Category

  • Small
  • Medium
  • Large

Severity

  • Low
  • Medium
  • High
  • Critical

Steps to reproduce

cloud storage upload test-bucket /etc/hostname --key myfile
cloud storage versions test-bucket myfile
# Output:
# VERSION ID | LATEST | SIZE | CREATED AT
# null       | true   | 14   | 2026-05-07T16:52:02+03:00

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions