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
0000908 [In-Portal CMS] Data Management bug report always 2010-10-28 10:36 2011-03-30 09:58
Reporter Dmitry View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0000908: Fatal Error on Creating Coupon
Description Fatal error when I try to add a coupon for Entire Order.

This is the error and appears when on the Items tab when adding coupon
(as root user):

Fatal Error: Query method is called in class kDBItem for prefix coupi in /home/sites/betainportal/web/5.1.1-beta2/full/core/kernel/db/dbitem.php on line 1504
Additional Information NOTES by Alex:

After debugger report inspection several errors were discovered, that together resulted in error you've totally got:

   - "coupi" (coupon item) validation errors: Weight (value_out_of_range)
   - Requested ID for prefix coupi not passed

This a bug in 0000845 task implementation (which was done in 5.1.1 release only), that resulted default value equals to *0*, while *Weight* field was also having "min_value_exc" option equals to *0*. Resulted in situation, that will always produce error, since there is way to fix it. I suppose we can set default value to NULL, since that Weight field is virtual.

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

Powered by Mantis Bugtracker