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 Report: [Console] Wrong Warning Displayed #6484

Open
2 tasks done
ItzNotABug opened this issue Oct 4, 2023 · 4 comments · Fixed by #6487
Open
2 tasks done

🐛 Bug Report: [Console] Wrong Warning Displayed #6484

ItzNotABug opened this issue Oct 4, 2023 · 4 comments · Fixed by #6487
Assignees
Labels
bug Something isn't working product / databases Fixes and upgrades for the Appwrite Database.

Comments

@ItzNotABug
Copy link
Contributor

👟 Reproduction steps

  1. Create a duplicate attribute in a collection
  2. Warning shows up :
    Attribute with the requested ID already exists. Try again with a different ID or use "unique()" to generate a unique ID.

Its not possible or allowed to Use "unique()" to generate a unique ID. in console.


See:

image

👍 Expected behavior

Show only : Attribute with the requested ID already exists.

👎 Actual Behavior

Probably uses a message style from an sdk which suggests to use unique() on console.

🎲 Appwrite version

Version 1.4.x

💻 Operating system

Linux

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@ItzNotABug ItzNotABug added the bug Something isn't working label Oct 4, 2023
@riyajath-ahamed
Copy link

Hi @ItzNotABug, I am willing to help you with this bug.

@aashif-sajah
Copy link

helo @riyajath-ahamed can you explain the above bug

@stnguyen90 stnguyen90 added the product / databases Fixes and upgrades for the Appwrite Database. label Oct 5, 2023
@stnguyen90
Copy link
Contributor

@gewenyu99, what should the text be for this error?

@gewenyu99
Copy link

@stnguyen90 I think I created a PR yesterday. We need to figure out a way to catch rethrow these warnings, this is an API error displayed on a form, which is just bad :P
#6487

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product / databases Fixes and upgrades for the Appwrite Database.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants