? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
3 Oct 2020

PR for #30397

Currently if you set the value for a number field outside of the min/max value then the form will save BUT the value you entered is not saved and instead the default value is saved.

This PR is a DRAFT and help is requested
So far you will get an error message when you save but the form is still saved.
The error message does include what the minimum or maximum value is but it doesn't include the name of the field

image

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar brianteeman brianteeman - open - 3 Oct 2020
avatar brianteeman brianteeman - change - 3 Oct 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Oct 2020
Category Administration Language & Strings Libraries
93229a9 3 Oct 2020 avatar brianteeman cs
avatar brianteeman brianteeman - change - 3 Oct 2020
Labels Added: ? ?
avatar brianteeman brianteeman - change - 3 Oct 2020
The description was changed
avatar brianteeman brianteeman - edited - 3 Oct 2020
avatar adj9 adj9 - test_item - 3 Oct 2020 - Tested successfully
avatar adj9
adj9 - comment - 3 Oct 2020

I have tested this item successfully on 85ec29e

Test done with the value -1 at the field Session Lifetime (minutes) (Global Configuration -> System).
Done!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30906.

avatar ceford ceford - test_item - 4 Oct 2020 - Tested successfully
avatar ceford
ceford - comment - 4 Oct 2020

I have tested this item successfully on 85ec29e

A good place to test this is in the User Options form - Password Options tab. I set two out of range and got a message for both of them. So the residual problem is that a valid number, say Minimum Characters set to 8, is set to the default value of 12 because I set Maximum Reset Count to 50, out of range.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30906.

avatar brianteeman
brianteeman - comment - 4 Oct 2020

Thanks for testing but this is not complete because although you get the error message the form is still saved

avatar brianteeman
brianteeman - comment - 10 Oct 2020

Anyone able to help me get this finished

avatar brianteeman
brianteeman - comment - 10 Oct 2020

@gostn follow the steps to reproduce in the original issue #30397

avatar brianteeman brianteeman - change - 16 Oct 2020
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2020-10-16 15:14:23
Closed_By brianteeman
avatar brianteeman brianteeman - close - 16 Oct 2020

Add a Comment

Login with GitHub to post a comment