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
0000699 [In-Portal CMS] Front End bug report always 2010-04-16 17:11 2010-06-10 13:44
Reporter Dmitry View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.0.4-B1
Status closed Product Version 5.0.3-B2 Target Version 5.0.4
Time EstimateNo estimate
Summary 0000699: Referring to In-Link in ItemCount method of CategoriesEventHandler class
Description As you can see below we are referring to In-Link prefix below which is
unacceptable. I came across this issue when there was NO In-Link
installed.

function ItemCount($params)
 {
 $object =& $this->getObject($params);
 $ci_table = $this->Application->getUnitOption('l-ci', 'TableName');

 $sql = 'SELECT COUNT(*)
   FROM ' . $object->TableName . ' c
   LEFT JOIN ' . $ci_table . ' ci ON c.CategoryId = ci.CategoryId
   WHERE (c.TreeLeft BETWEEN ' . $object->GetDBField('TreeLeft') . '
AND ' . $object->GetDBField('TreeRight') . ') AND NOT (ci.CategoryId
IS NULL)';
 return $this->Conn->GetOne($sql);
 }
Additional Information
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-bugs/browse_thread/thread/ba845b223c85e25
Change Log Message
Estimate Points 0
Attached Files patch file icon itemcount_reffering_to_in-link.patch [^] (610 bytes) 2010-04-16 17:11 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0002067)
alex (manager)
2010-05-05 11:37

ok
User avatar (0002178)
alex (manager)
2010-05-11 03:29

Fix committed to 5.0.x branch. Commit Message:

1. Fixes 0000699: Referring to In-Link in ItemCount method of CategoriesEventHandler class
2. Commit on behalf of Dmitry
User avatar (0002434)
alex (manager)
2010-06-10 13:44

Closing since version 5.0.4 is released.

- Related Changesets
In-Portal CMS: 5.0.x r13524
Timestamp: 2010-05-11 03:29:55
Author: alex
Details ] Diff ]
1. Fixes 0000699: Referring to In-Link in ItemCount method of CategoriesEventHandler class
2. Commit on behalf of Dmitry
mod - /in-portal/branches/5.0.x/core/units/categories/categories_tag_processor.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2010-06-10 13:44 alex Note Added: 0002434
2010-06-10 13:44 alex Status resolved => closed
2010-05-11 03:29 alex Note Added: 0002178
2010-05-11 03:29 alex Status reviewed and tested => resolved
2010-05-11 03:29 alex Fixed in Version => 5.0.4-B1
2010-05-11 03:29 alex Resolution open => fixed
2010-05-11 03:29 alex Assigned To !COMMUNITY => alex
2010-05-11 03:29 alex Changeset attached 5.0.x r13524
2010-05-05 11:37 alex Note Added: 0002067
2010-05-05 11:37 alex Status needs testing => reviewed and tested
2010-04-16 17:11 Dmitry Assigned To => !COMMUNITY
2010-04-16 17:11 Dmitry Developer => Dmitry
2010-04-16 17:11 Dmitry Status active => needs testing
2010-04-16 17:11 Dmitry New Issue
2010-04-16 17:11 Dmitry File Added: itemcount_reffering_to_in-link.patch
2010-04-16 17:11 Dmitry Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/ba845b223c85e25



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

Powered by Mantis Bugtracker