Skip to content

🐛 Bug Report: Odd min and max values when editing int or float/double attributed #7706

Closed

Description

@maned3v

👟 Reproduction steps

When editing an integer or float/double attribute, created without setting min and max values

👍 Expected behavior

Min and max values should be empty or set to the min and max theoretical values

👎 Actual Behavior

Strange min and max values are present
image

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

Cloud and on premise 1.4.x on docker

👀 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?

Activity

  1. added
    bug
    on Mar 1, 2024
  2. ItzNotABug commented on Mar 1, 2024

    @ItzNotABug
    Contributor
  3. added
    product / databases
    on Mar 6, 2024
  4. Joelute commented on Aug 4, 2024

    @Joelute

    I'm been reproducing this and playing around with it for a bit. I think this behaviour is normal and isn't a bug.

    Normally when you create a new document attribute of int or float and provide max/min values, we'll populate the database with those max/min values. Then when you edit them, it would appear back with the same exact values.
    image

    Now the max/min field aren't required and you can leave them blank when you create the attribute, and thereby let the max/min values be of those odd values.
    image

    I think it's only natural that it displays those values and let you know those are the default max/min values. I don't think this is at all a bug, but it may be possible that we can add an indictor somewhere to notify the user of the default max/min values.

  5. pmusolino commented on Dec 14, 2024

    @pmusolino

    This seems like a serious issue since it affects both integers and doubles, making both attributes impossible to edit. I was able to replicate the issue also on AppWrite Cloud 1.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugproduct / databases

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions