Skip to content

SQL Error on front-end when user tries to save account details with duplicate phone number. #408

@theobadha

Description

@theobadha

Expected Behaviour

Where there's an error, error message should be properly shown, not as an SQL Error.

Actual Behaviour

Where there's an error, an SQL error message is shown to the user.

Steps to Reproduce

  • Navigate to People section.
  • Note organization owner exists.
  • Create another user in the same organization, filling in email and phone number.
  • Navigate back to the organization owner, click Edit.
  • Change the phone number to match the user created above.
  • Hit Save.
  • User sees SQL Error. (see screenshot)

Screenshot

Screenshot from 2019-06-17 13-17-56

Environment

  • www.tenfour.org
  • app.tenfour.org
  • staging.tenfour.org
  • dev.tenfour.org
  • localhost:8100
  • iOS App (live)
  • iOS App (testflight)
  • Android App (live)
  • Android App (beta)

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