Skip to content

get_item fails if pass item title of 26characters in length #80

@volodymyrZotov

Description

@volodymyrZotov

What happened?

get_item fails if pass item title of 26 characters in length.

 if is_valid_uuid(item):
            return self.get_item_by_id(item, vault_id)
else:
            return self.get_item_by_title(item, vault_id)

What did you expect to happen?

It should search by item title if title is has a length of 26. We try to get it by ID, and if that fails, try by title instead.

Steps to reproduce

use get_item and pass item params as random 26 chars random string

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions