Bug 103667
Summary: | task notifications failing | ||
---|---|---|---|
Product: | [Retired] Red Hat Enterprise CMS | Reporter: | Crag Wolfe <cwolfe> |
Component: | other | Assignee: | Archit Shah <archit.shah> |
Status: | CLOSED RAWHIDE | QA Contact: | Jon Orris <jorris> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-10-07 22:07:26 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 100952 |
Description
Crag Wolfe
2003-09-03 18:09:52 UTC
So, correcting those 2 things seems to get tasks up. My diff's are below. I only renamed select fields in Task.pdl so as to avoid the ambiguous column error. --- SectionInitializer.java Tue Sep 9 13:36:10 2003 +++ /usr/share/ccm-devel/applications/ccm-cms-6.0.0/src/com/arsdigita/cms/installer/SectionInitializer.java Tue Aug 19 16\:36:03 2003 @@ -164,8 +164,6 @@ } else { try { section = ContentSection.getSectionFromNode(node); - (new ContentSectionSetup(section)). - loadAlertPrefs((List) m_conf.getParameter(TASK_ALERTS)); } catch (DataObjectNotFoundException de) { throw new InitializationException( (String) GlobalizationUtil.globalize("cms.installer.could_not_load_sectio\n", new Object[] {name}).localize(), de); } --- Task.pdl Tue Sep 9 14:57:29 2003 +++ Task.pdl.old Tue Sep 9 13:59:33 2003 @@ -98,11 +98,11 @@ TaskComment comment; do { - select c.comment_id as the_comment_id, - c.task_id as the_task_id, - c.task_comment as the_task_comment, - c.comment_date as the_comment_date, - c.party_id as the_party_id + select c.comment_id, + c.task_id, + c.task_comment, + c.comment_date, + c.party_id from cw_task_comments c, cw_tasks t1, cw_tasks t2 @@ -110,10 +110,10 @@ and t2.parent_task_id = t1.parent_task_id and c.task_id = t2.task_id } map { - comment.id = the_comment_id; - comment.task = the_task_id; - comment.taskComment = the_task_comment; - comment.commentDate = the_comment_date; - comment.partyID = the_party_id; + comment.id = c.comment_id; + comment.task = c.task_id; + comment.taskComment = c.task_comment; + comment.commentDate = c.comment_date; + comment.partyID = c.party_id; } } The notifier thread for overdue tasks also needs to be started every time. fixed on trunk (@36062) and on branch (@36146) |