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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug Report: CLI config for integer fields uses invalid default min and max values #8073

Closed
2 tasks done
pingu2k4 opened this issue May 3, 2024 · 2 comments
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@pingu2k4
Copy link

pingu2k4 commented May 3, 2024

馃憻 Reproduction steps

  • Create a DB
  • Create a Collection
  • Create an attribute on said collection of type integer. Leave min and max blank
  • run appwrite init collection --all
  • After running appwrite client and providing an endpoint and projectId...
  • run appwrite deploy collection --all --yes
  • note the error.

馃憤 Expected behavior

The values stored in the .json file are 9223372036854776000 and -9223372036854776000. These are outside the bounds of integers. I would expect it to use Min and Max values for Integer (2.147 billion or so).

馃憥 Actual Behavior

image

馃幉 Appwrite version

Version 1.5.x

馃捇 Operating system

Windows

馃П Your Environment

Tinkering right now with Appwrite on localhost

馃憖 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?

@stnguyen90
Copy link
Contributor

@pingu2k4, thanks for creating this issue! 馃檹馃徏 This looks like a duplicate of appwrite/sdk-for-cli#124. As such, please add a 馃憤馃徏 to that issue as I'll be closing this as a duplicate.

@stnguyen90 stnguyen90 closed this as not planned Won't fix, can't repro, duplicate, stale May 6, 2024
@pingu2k4
Copy link
Author

pingu2k4 commented May 6, 2024

Ah I had tried searching, but didn't come across this one. Thanks.

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

2 participants