Skip to content

specify null imp_user yields server error stating that it cannot be null #76

@u19809

Description

@u19809

The docs state that specifying null for imp_user means that no impersonation is done. however when I send

"\xB1\x11\xA8\x89""bookmarks\x90\x82""db\x80\x88imp_user\x80\x84mode\x81w\xD0!notifications_disabled_categories\x90\xD0\x1Enotifications_minimum_severity\x84NONE\x8Btx_metadata\xA0\x8Atx_timeout\xCB\x00\x00\x00\x00\x00\x00\xEA`"

where imp_user is an empty string the server returns Cannot impersonate user ''

when I specify NULL like in"\xB1\x11\xA8\x89""bookmarks\x90\x82""db\x80\x88imp_user\x00\x84mode\x81w\xD0!notifications_disabled_categories\x90\xD0\x1Enotifications_minimum_severity\x84NONE\x8Btx_metadata\xA0\x8Atx_timeout\xCB\x00\x00\x00\x00\x00\x00\xEA`"

I get this

Illegal value for field "imp_user": Expected string

a similar problem exists for db,
when I send the empty string, it works (no error) but when I send NULL I get
Illegal value for field "metadata": Illegal value for field "db": Expected string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions