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!

Relationship Graph View Issue ] Dependency Graph ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0000937 [In-Portal CMS] Data Management bug report always 2010-11-30 11:51 2011-03-30 09:53
Reporter Dmitry View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0000937: Issues with Exporting Category Items
Description Can't perform export for Category Items, since when press export button get redirected to same page with error message on top, but no field is reported as having error.

Debugger shows:

Array
(
    [CreatedById] = Array
        (
            [pseudo] = invalid_option
        )
)
Additional Information The problem is related to making 'default' = NULL for CreatedById field.

The Export has the code which loads the objects and then goes through all Required fields which are empty and tries to preset them with a "sample_value" (not used much these days) or "no value" text (which is why CreatedById fails) and then tries to Validate it.

The whole issue can be fixed by adding: 'sample_value' => 'Guest' to declaration of CreatedById field.

Note that same bug is in Articles and other CategoryItems.



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

Powered by Mantis Bugtracker