Skip to content

Bug when entering username with @ symbol #12

@AbhayJha24

Description

@AbhayJha24

Issue Description

When some username is entered with @ symbol (For example @myusername) this error comes on the UI

Undefined is not an object (evaluating 'n.data')

Suggested fixes

  • Types must be checked before reading properties like data on objects being created from end user input to prevent edge cases like this

  • Secondly error texts like these must be logged in the browser console and a user friendly error message should be provided to the end user

Bug Screenshot

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions