Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite spinner if sensor table is not defined (Cold Chain) #212

Open
jmbrunskill opened this issue Oct 29, 2023 · 0 comments
Open

Infinite spinner if sensor table is not defined (Cold Chain) #212

jmbrunskill opened this issue Oct 29, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@jmbrunskill
Copy link
Collaborator

Describe the bug

image

To Reproduce

This is happening on the test server, as we don't have a proper mSupply database setup.

Steps to reproduce the behaviour:

  1. Open a cold chain alert conifg
  2. See infinite spinner

Expected behaviour

An error message should be shown to the user

Additional context

{
    "data": null,
    "errors": [
        {
            "message": "Bad user input",
            "locations": [
                {
                    "line": 2,
                    "column": 3
                }
            ],
            "path": [
                "runSqlQueryWithParameters"
            ],
            "extensions": {
                "details": "Could not run query: relation \"sensor\" does not exist"
            }
        }
    ]
}
@jmbrunskill jmbrunskill added bug Something isn't working good first issue Good for newcomers labels Oct 29, 2023
@jmbrunskill jmbrunskill changed the title Infinite spinner if sensor is not defined Infinite spinner if sensor table is not defined (Cold Chain) Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant