Skip to content

bw get item failing to find exact match #3366

@JWBWork

Description

@JWBWork

Steps To Reproduce

  1. Create two credential items where one name is the substring of the other. Such as Cred Item and Cred Item Second
  2. request the item which has a name that's a substring of the other
bw get item "Cred Item"

Expected Result

Expect the credential set Cred Item to be returned as a json string in the console

Actual Result

STDERR: More than one result was found. Try getting a specific object by `id` instead. The following objects were found:
1234abc-credential-set-1-id-1234abc-1234abc
1234abc-credential-set-2-id-1234abc-1234abc

Screenshots or Videos

No response

Additional Context

No response

Operating System

macOS

Operating System Version

No response

Shell

Zsh

Build Version

2022.6.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcliCLI Application

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions