In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1233 [In-Portal CMS] Data Management bug report always 2012-03-26 05:49 2012-07-25 05:31
alex  
alex  
normal  
closed 5.1.3  
fixed  
 
none 5.2.0-B3  
https://groups.google.com/d/topic/in-portal-bugs/nr3kc6AhK8s/discussion
Fixes mistake in field length validation error message
1
0001233: Incorrect error message during field value length validation
I'm getting "Field value length is out of range, possible value length from to 255" error message, when value larger, then 255 symbols in length is entered as a field value.

It maybe be not obvious at first, but error message should end with "from 0 to 255" instead of "from to 255".

I'm proposing that we assume, that min/max field length is that error message is 0, when not set explicitly in field definition in unit config.
patch field_validation_min_len_fix.patch (1,189) 2012-03-26 05:49
http://tracker.in-portal.org/file_download.php?file_id=1567&type=bug
Issue History
2012-07-25 05:31 alex Note Added: 0004953
2012-07-25 05:31 alex Status resolved => closed
2012-03-26 05:51 alex Changeset attached 5.2.x r15234
2012-03-26 05:51 alex Note Added: 0004513
2012-03-26 05:51 alex Status reviewed and tested => resolved
2012-03-26 05:51 alex Fixed in Version => 5.2.0-B3
2012-03-26 05:51 alex Resolution open => fixed
2012-03-26 05:51 alex Assigned To !COMMUNITY => alex
2012-03-26 05:50 alex Note Added: 0004512
2012-03-26 05:50 alex Status needs testing => reviewed and tested
2012-03-26 05:50 alex Assigned To => !COMMUNITY
2012-03-26 05:50 alex Developer => alex
2012-03-26 05:50 alex Status active => needs testing
2012-03-26 05:49 alex New Issue
2012-03-26 05:49 alex File Added: field_validation_min_len_fix.patch
2012-03-26 05:49 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/nr3kc6AhK8s/discussion
2012-03-26 05:49 alex Change Log Message => Fixes mistake in field length validation error message
2012-03-26 05:49 alex Estimate Points => 1

Notes
(0004512)
alex   
2012-03-26 05:50   
Will test all together later.
(0004513)
alex   
2012-03-26 05:51   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001233: Incorrect error message during field value length validation
(0004953)
alex   
2012-07-25 05:31   
Since 5.2.0 version was released.