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
0000104 [In-Portal CMS] Optimization task always 2009-06-30 04:14 2010-01-11 22:05
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0000104: Unify "Price" virtual field processing
Description For now, when user enters price in product editing general tab it is set to primary price bracket for "Everyone" group. This is good of course. I've expected, that such type of processing will also happen, when I manually load product object and try to set price like this:

$product =& $this->Application->recallObject('p', null, Array ('skip_autoload' => true));
/* @var $product kCatDBItem */

$product->Load(55);
$product->SetDBField('Price', 77.55);
$product->Update();

Unfortunately this doesn't work, because price processing code is located inside OnPreSave event only, and not in OnBeforeItemCreate/OnBeforeItemUpdate event pair.

I propose to change that to expected behavior.
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