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!

Dependency Graph View Issue ] Relation Graph ] Vertical ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0000642 [In-Portal CMS] Data Management bug report always 2010-03-26 03:00 2010-06-10 13:44
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0000642: Notice about undefined field "File5" on product update
Description When I update product by hand using this code:

$product =& $this->Application->recallObject('p', null, Array ('skip_autoload' => true));

$products = $application->Conn->Query($product->GetSelectSQL(), $product->IDField);

foreach ($products as $product_id => $product_data) {
    $product->LoadFromHash($product_data);
    $product->Update();
}

then I always get notice about undefined field "File5". This happens because there is same method for creating file and image fields for category item, but different for saving them. Field "PrimaryFile" is created instead if "File5" at the end.
Additional Information



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

Powered by Mantis Bugtracker