Skip to content

Searching for anything starting with 'or' or 'and' throws exceptions.TypeError #1054

@Eising

Description

@Eising

If you search for a hostname that starts with 'or' or 'and', the backend throws exceptions.TypeError:

eising@ipam:~$ nipap address list andybandy
Searching for prefixes in any VRF...
Command failed: <type 'exceptions.TypeError'>:unhashable type: 'dict'
eising@ipam:~$ nipap address list orthanc
Searching for prefixes in any VRF...
Command failed: <type 'exceptions.TypeError'>:unhashable type: 'dict'

However, it works if it's inside a string...

eising@ipam:~$ nipap address list fork
Searching for prefixes in any VRF...
No addresses matching 'fork' found.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions