Description
👟 Reproduction steps
When I try to update an document Attribute name (the attribute key from entryCount to contestEntryCount), I get this error on an Integer attribute:
Invalid max param: Value must be a valid integer
If I reduce Max to a more realistic value, I get another error when I try to Update:
Attribute with the requested ID could not be found.
Both are occurring in the same modal.
Using Appwrite Self-Hosted Version 1.6.0
The Attribute was initially created from code (snippet):
databases.createIntegerAttribute(
databaseId,
contestCollectionId,
"entryCount",
true,
0,
),
👍 Expected behavior
I expect the Appwrite web GUI to handle this by itself, and not populate nonsensically high integer values by default when opening the Update Attribute window. I also expect Appwrite web GUI to not throw an error when you DO have a valid integer value.
👎 Actual Behavior
🎲 Appwrite version
Version 1.6.x
💻 Operating system
Linux
🧱 Your Environment
Ubuntu Server
Self-Hosted Appwrite 1.6.0
Customization: Disabled rate limiting
👀 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?
- I have read the Code of Conduct