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

[BUG] Failed thing creation does not show an error on ui #235

Open
1 task done
WashingtonKK opened this issue Mar 13, 2024 · 2 comments
Open
1 task done

[BUG] Failed thing creation does not show an error on ui #235

WashingtonKK opened this issue Mar 13, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@WashingtonKK
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

What were you trying to achieve?

When trying to create a thing and a duplicate id is used, there is no error message to show you that you are using a duplicate id.

What are the expected results?

An error should be displayed on ui to show that thing creation failed.

What are the received results?

The thing is not created and no error is shown

Steps To Reproduce

  1. On magistrala-ui thing management
  2. Create a thing successfully
  3. Attempt to create another thing using a thing id used to create the previous thing

In what environment did you encounter the issue?

Magistrala-ui

Additional information you deem important

No response

@WashingtonKK WashingtonKK added the bug Something isn't working label Mar 13, 2024
@dborovcanin
Copy link
Contributor

I don't see how it's possible to have duplicate IDs. @WashingtonKK Please elaborate and close if this one is resolved.

@WashingtonKK
Copy link
Contributor Author

@dborovcanin , On thing creation, there is an option to provide a thing ID as shown below:
image

This creates a thing successfully with the provided ID.

When another thing is created and the same ID is provided, the thing is not created and no error is returned either.

image

The result is thing B is not created and no error is returned on this operation.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants