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
0000553 [In-Portal CMS] Data Management bug report always 2010-01-25 10:36 2010-05-11 03:00
Reporter Dmitry View Status public Project Name In-Portal CMS
Assigned To Dmitry Developer
Priority normal Resolution fixed Fixed in Version 5.0.3-B1
Status closed Product Version 5.0.2 Target Version 5.0.3
Time EstimateNo estimate
Summary 0000553: Empty CategoryId in Item object after it's Created
Description Topic (or category item) url leads to home page in TOPIC.ADD email event in
case, when topic creation confirmation template is not used. This happens
because just after topic (any other category item) is created it's
CategoryId virtual field is not filled with current category (where topic
was added to), but this CategoryId field is used later to build link to this
topic in TOPIC.ADD email event.
To fix this you should set CategoryId field to $category_id (when passed) in
kCatDBItem::assignPrimaryCategory() method (only when $category_id is not
empty).
Additional Information
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-bugs/browse_thread/thread/dcbe05fdde396ae6
Change Log Message
Estimate Points 0
Attached Files patch file icon Empty_CategoryId_In_Item_Object_After_ Its_Created-Dmitry-20100126-v1.patch [^] (735 bytes) 2010-01-25 10:36 [Show Content]
patch file icon Empty_CategoryId_In_Item_Object_After_ Its_Created-Dmitry-20100126-v3.patch [^] (713 bytes) 2010-03-08 01:39 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0001434)
Dmitry (manager)
2010-01-25 10:37

Please test and report back.
User avatar (0001523)
alex (manager)
2010-03-08 01:40

Patch "Empty_CategoryId_In_Item_Object_After_ Its_Created-Dmitry-20100126-v3.patch" is latest version from discussion.
User avatar (0001524)
alex (manager)
2010-03-08 01:41

Ok.
User avatar (0001619)
Dmitry (manager)
2010-03-15 16:41

Fix committed to 5.0.x branch. Commit Message:

Fixes 0000553: Empty CategoryId in Item object after it's Created
User avatar (0002146)
alex (manager)
2010-05-11 03:00

Closing all tasks from released versions.

- Related Changesets
In-Portal CMS: 5.0.x r13228
Timestamp: 2010-03-15 16:41:26
Author: Dmitry
Details ] Diff ]
Fixes 0000553: Empty CategoryId in Item object after it's Created
mod - /in-portal/branches/5.0.x/core/kernel/db/cat_dbitem.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2010-05-11 03:00 alex Note Added: 0002146
2010-05-11 03:00 alex Status resolved => closed
2010-03-15 16:41 Dmitry Note Added: 0001619
2010-03-15 16:41 Dmitry Status reviewed and tested => resolved
2010-03-15 16:41 Dmitry Fixed in Version => 5.0.3-B1
2010-03-15 16:41 Dmitry Resolution open => fixed
2010-03-15 16:41 Dmitry Assigned To !COMMUNITY => Dmitry
2010-03-15 16:41 Dmitry Changeset attached 5.0.x r13228
2010-03-08 01:41 alex Note Added: 0001524
2010-03-08 01:41 alex Status needs testing => reviewed and tested
2010-03-08 01:40 alex Note Added: 0001523
2010-03-08 01:39 alex File Added: Empty_CategoryId_In_Item_Object_After_ Its_Created-Dmitry-20100126-v3.patch
2010-02-26 18:49 Dmitry Developer => Dmitry
2010-01-25 10:37 Dmitry Note Added: 0001434
2010-01-25 10:37 Dmitry Assigned To => !COMMUNITY
2010-01-25 10:37 Dmitry Status active => needs testing
2010-01-25 10:36 Dmitry New Issue
2010-01-25 10:36 Dmitry File Added: Empty_CategoryId_In_Item_Object_After_ Its_Created-Dmitry-20100126-v1.patch
2010-01-25 10:36 Dmitry Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/dcbe05fdde396ae6



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

Powered by Mantis Bugtracker