In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1357 [In-Portal CMS] Data Management bug report always 2012-07-18 08:50 2012-07-25 05:29
alex  
alex  
normal  
closed 5.0.0  
fixed  
 
none 5.2.0  
https://groups.google.com/d/topic/in-portal-bugs/nbHYLZ9nFBo/discussion
Fixes validation problems in system configuration section
1
0001357: Validation of system settings is shared across multiple settings
There is a special feature in In-Portal (that I bet nobody knew about) that allows each system setting have it's own validation logic, e.g. be always required or allow only numbers.
To use it you need to place serialized array of field validation options into "Validation" column of that system setting.

Because of we are not using this very often (I think we should start using it at some point) error, where validation logic from system setting A is passed on to next system setting in same subsection was unnoticed for a long time.

For example you have 2 system settings one after each other:

* Site name
* Session expiration timeout

When you apply "required" validation to "Site name", then "Session expiration timeout" settings become required too.
patch system_setting_validation_mixed_fix.patch (1,324) 2012-07-18 08:50
http://tracker.in-portal.org/file_download.php?file_id=1761&type=bug
Issue History
2012-07-25 05:29 alex Note Added: 0004828
2012-07-25 05:29 alex Status resolved => closed
2012-07-18 08:53 alex Note Added: 0004803
2012-07-18 08:53 alex Status reviewed and tested => resolved
2012-07-18 08:53 alex Fixed in Version => 5.2.0
2012-07-18 08:53 alex Resolution open => fixed
2012-07-18 08:53 alex Assigned To !COMMUNITY => alex
2012-07-18 08:53 alex Changeset attached 5.2.x r15460
2012-07-18 08:52 alex Note Added: 0004802
2012-07-18 08:52 alex Status needs testing => reviewed and tested
2012-07-18 08:52 alex Assigned To => !COMMUNITY
2012-07-18 08:52 alex Developer => alex
2012-07-18 08:52 alex Status active => needs testing
2012-07-18 08:52 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/nbHYLZ9nFBo/discussion
2012-07-18 08:50 alex New Issue
2012-07-18 08:50 alex File Added: system_setting_validation_mixed_fix.patch
2012-07-18 08:50 alex Change Log Message => Fixes validation problems in system configuration section
2012-07-18 08:50 alex Estimate Points => 1

Notes
(0004802)
alex   
2012-07-18 08:52   
Will test all together later.
(0004803)
alex   
2012-07-18 08:53   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001357: Validation of system settings is shared across multiple settings
(0004828)
alex   
2012-07-25 05:29   
Since 5.2.0 version was released.