Skip to content

bug: CLI tutor mode doesn't seem to fill in object ID correctly for Export CAR #2469

@imrehg

Description

@imrehg

Describe the bug

The CLI tutor mode fills in "undefined" for CID in the Export CAR option.

To Reproduce
Steps to reproduce the behavior:

  1. add an object to IPFS
  2. In Settings > CLI Tutor Mode > Enable command-line interface (CLI) tutor mode set to enabled
  3. Go to Files, select the object's triple dots "..." menu, and click the icon on the right of Export CAR (the tutor mode for that entry)
  4. See the command with "undefined"

Expected behavior

Instead of "undefined", it should have the CID, just like e.g. the tutor mode for the "Set Pinning" option does.

Screenshots

The tutor mode for the Export CAR option, that shows the undefined outcome:

Image

The tutor mode for the Set Pinning option, that shows the CID as it is more expected:

Image

Desktop (please complete the following information):

  • OS: Linux (ArchLinux)
  • Browser: Firefox 147.0.2 (64-bit)
  • Version: Kubo 0.39.0

Additional context

Same happens for the IPFS Desktop version 0.47.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    need/triageNeeds initial labeling and prioritizationreleased

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions