Bug #1667
closedNo validation of lenght for float custom field in a table
0%
Description
๐ Thanks for taking the time to fill out this bug report! ๐
What did you expect?¶
When I create a custom field as float and set a min and max value for the lengths of this field I would expect that an input value greater than the max value in a table cell won't be accepted.
What has happened instead?¶
Typing in an input value in a table field greater than the defined max value will be accepted.
What could be a possible solution?¶
Probably the validation of the field is missing.
How can we reproduce the problem?¶
Create a float custom field for a table. The field should have a min and max value for user input.
Add the field to table. Enter a value greater than the max value and save your input.
In what environment are you running the plugin?¶
Please copy and paste your environment information as displayed in Administration ยป Information or run bin/about
in the root dir of your Redmine instance.
Redmine version 5.0.5.stable
redmine_table_calculation 2.0.0
What browsers are you seeing the problem on?¶
- Firefox
- Chrome
- Safari
The problem is browser independent!
Relevant log output¶
# Copy your log output (log/production.log) here
-nothing relevant-
Updated by liaham almost 2 years ago
The min max value refers to the lengths or number of characters and not the range of the floating number such as all numbers between 0 and 1.
Updated by liaham almost 2 years ago
- Status changed from New to Rejected
- Assignee set to liaham
This is no bug but a misunderstood feature.