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

Index Error after user inserts scale value with a comma #368

Closed
victoralvesgomide opened this issue Dec 1, 2020 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@victoralvesgomide
Copy link
Contributor

Describe the bug
When the user is going to create an object, he needs to enter a scale value. If the user tries to enter a fractional value representing decimal places with a comma (,) and not a dot (.), this breaks the system. That way, you are unable to access Collection and My Stuff pages, and also create a new artwork (i.e nothing related to the object you just created).

To reproduce the bug

  1. Go to Upload Object page;
  2. In the scale form, put in a number separated with a comma;
  3. Fill in all of the other forms;
  4. Click "Submit" button;
  5. Try to access Collection, My Stuff or Create Artwork page.

Expected behavior
The system understands the entered value as a float, handles it, stores it and the user can continue using the app normally.

Screenshots
image

Please, tell us which device/browser is used when finding the bug:

  • OS: Linux Ubuntu 20.04
  • Browser: Mozilla Firefox
  • Version: 81.0.2
@luiz-hfz
Copy link
Contributor

luiz-hfz commented Jan 31, 2023

@pablodiegoss I believe this issue has already been done, close issue.

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

5 participants