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
0001381 [In-Portal CMS] Database task always 2012-08-20 10:23 2012-08-20 10:25
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.1-B1
Status resolved Product Version 5.2.0 Target Version 5.2.1
Time EstimateNo estimate
Summary 0001381: Adding more info to item validation error message
Description When validation of an item fails In-Portal triggers a notice with following text and adds detailed error list in a debugger report:

Notice (#1): Validation failed in prefix - conf, FieldErrors follow (look at items with "pseudo" key set)
You may ignore this notice if submitted data really has a validation error in ...\core\kernel\utility\validator.php on line 120


If you're editing only 1 record at a time (e.g. on editing page), then this is normal. But when multiple items are changed in database (e.g. 20), and only several of them have validation errors, then it's hard to determine which ones exactly.


I'm proposing to display item's ID and Title Field value as a help in solving this item identification problem. With proposed changed message now will look as follows:

Notice (#1): Validation failed in prefix - conf (VariableId: 55; VariableName: Require_AdminSSL), FieldErrors follow (look at items with "pseudo" key set)
You may ignore this notice if submitted data really has a validation error in ...\core\kernel\utility\validator.php on line 120
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-dev/8SfgR2JJRyk/discussion
Change Log Message Added more info to item validation error message
Estimate Points 1
Attached Files patch file icon more_info_about_validated_item.patch [^] (1,039 bytes) 2012-08-20 10:23 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0001003resolved (5.2.1)alex Logging engine 

-  Notes
User avatar (0005148)
alex (manager)
2012-08-20 10:25

Will test all together later.
User avatar (0005149)
alex (manager)
2012-08-20 10:25

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001381: Adding more info to item validation error message

- Related Changesets
In-Portal CMS: 5.2.x r15522
Timestamp: 2012-08-20 10:25:51
Author: alex
Details ] Diff ]
Fixes 0001381: Adding more info to item validation error message
mod - /in-portal/branches/5.2.x/core/kernel/utility/validator.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-08-20 10:25 alex Note Added: 0005149
2012-08-20 10:25 alex Status reviewed and tested => resolved
2012-08-20 10:25 alex Fixed in Version => 5.2.1-B1
2012-08-20 10:25 alex Resolution open => fixed
2012-08-20 10:25 alex Assigned To !COMMUNITY => alex
2012-08-20 10:25 alex Changeset attached 5.2.x r15522
2012-08-20 10:25 alex Note Added: 0005148
2012-08-20 10:25 alex Status needs testing => reviewed and tested
2012-08-20 10:24 alex Assigned To => !COMMUNITY
2012-08-20 10:24 alex Developer => alex
2012-08-20 10:24 alex Status active => needs testing
2012-08-20 10:24 alex Reference => https://groups.google.com/d/topic/in-portal-dev/8SfgR2JJRyk/discussion
2012-08-20 10:23 alex Relationship added related to 0001003
2012-08-20 10:23 alex New Issue
2012-08-20 10:23 alex File Added: more_info_about_validated_item.patch
2012-08-20 10:23 alex Change Log Message => Added more info to item validation error message
2012-08-20 10:23 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