In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0001357 [In-Portal CMS] Data Management bug report always 2012-07-18 08:50 2012-07-25 05:29
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0
Status closed Product Version 5.0.0 Target Version 5.2.0
Time EstimateNo estimate
Summary 0001357: Validation of system settings is shared across multiple settings
Description 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.
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-bugs/nbHYLZ9nFBo/discussion
Change Log Message Fixes validation problems in system configuration section
Estimate Points 1
Attached Files patch file icon system_setting_validation_mixed_fix.patch [^] (1,324 bytes) 2012-07-18 08:50 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0004802)
alex (manager)
2012-07-18 08:52

Will test all together later.
User avatar (0004803)
alex (manager)
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
User avatar (0004828)
alex (manager)
2012-07-25 05:29

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r15460
Timestamp: 2012-07-18 08:53:01
Author: alex
Details ] Diff ]
Fixes 0001357: Validation of system settings is shared across multiple settings
mod - /in-portal/branches/5.2.x/core/units/configuration/configuration_event_handler.php Diff ] File ]

- Issue History
Date Modified Username Field Change
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



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker