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 ]  Related Changesets ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0001191 [In-Portal CMS] Other refactoring N/A 2012-01-10 06:32 2012-07-25 05:32
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0-B1
Status closed Product Version 5.1.3 Target Version 5.2.0
Time EstimateNo estimate
Summary 0001191: Remove RunMode from Scheduled Tasks
Description Currently all scheduled tasks are divided into ones that run before content is displayed to site visitor and after content is displayed to site visitor.

All "before" scheduled tasks usually process some url parameters, that might affect what information is displayed to site visitor. However, when scheduled tasks are moved to Cron, then no processing is done and for ex. whole affiliate system stops working.

I propose to get rid of such before/after separation and make all "before" scheduled tasks as hooks to adm:OnStartup event.
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-dev/qNkFwyXrILQ/discussion
Change Log Message Removes "before" scheduled tasks term
Estimate Points 1
Attached Files patch file icon remove_before_scheduled_tasks_core.patch [^] (24,330 bytes) 2012-01-10 08:27 [Show Content]
patch file icon remove_before_scheduled_tasks_modules.patch [^] (16,003 bytes) 2012-01-10 08:27 [Show Content]
patch file icon remove_before_scheduled_tasks_core_fix.patch [^] (393 bytes) 2012-01-11 02:28 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0001203closed (5.2.0)alex Former "before" Agents still run during installation 
related to 0001339closed (5.2.0)alex Long running scheduled task delays page loading 
related to 0000981closed (5.2.0)Dmitry Rename Agents section to "Scheduled Tasks" 
related to 0001340closed (5.2.0)alex Don't use session in scheduled tasks 
related to 0001341closed (5.2.0)alex Create cron-like interface for scheduled tasks 

-  Notes
User avatar (0004401)
alex (manager)
2012-01-10 08:34

Will test all together later.
User avatar (0004402)
alex (manager)
2012-01-10 08:39

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001191: Remove RunMode from Scheduled Tasks
User avatar (0004404)
alex (manager)
2012-01-11 02:29

Patch "remove_before_scheduled_tasks_core_fix.patch" adds missing ALTER TABLE statement to upgrades.sql script.
User avatar (0004994)
alex (manager)
2012-07-25 05:32

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r15035
Timestamp: 2012-01-11 02:29:55
Author: alex
Details ] Diff ]
Bug 0001191: Remove RunMode from Scheduled Tasks
1. adds missing ALTER TABLE statement to upgrades.sql script
mod - /in-portal/branches/5.2.x/core/install/upgrades.sql Diff ] File ]
In-Portal CMS: 5.2.x r15033
Timestamp: 2012-01-10 08:39:36
Author: alex
Details ] Diff ]
Fixes 0001191: Remove RunMode from Scheduled Tasks
mod - /in-portal/branches/5.2.x/admin/system_presets/simple/scheduled_tasks_scheduled-task.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/admin_templates/scheduled_tasks/scheduled_task_edit.tpl Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/english.lang Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/install_schema.sql Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/upgrades.sql Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/application.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/constants.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/event_manager.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/managers/cache_manager.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/managers/request_manager.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/managers/scheduled_task_manager.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/utility/unit_config_reader.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/admin/admin_config.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/forms/forms/forms_config.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/images/images_config.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/mailing_lists/mailing_lists_config.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/scheduled_tasks/scheduled_task_eh.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/scheduled_tasks/scheduled_tasks_config.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/users/users_config.php Diff ] File ]
mod - /in-portal/branches/5.2.x/tools/cron.php Diff ] File ]
Modules :: In-News: 5.2.x r15032
Timestamp: 2012-01-10 08:39:08
Author: alex
Details ] Diff ]
Bug 0001191: Remove RunMode from Scheduled Tasks
mod - /modules/in-news/branches/5.2.x/units/articles/articles_config.php Diff ] File ]
mod - /modules/in-news/branches/5.2.x/units/articles/articles_event_handler.php Diff ] File ]
Modules :: In-Link: 5.2.x r15031
Timestamp: 2012-01-10 08:38:53
Author: alex
Details ] Diff ]
Bug 0001191: Remove RunMode from Scheduled Tasks
mod - /modules/in-link/branches/5.2.x/units/link_validation/link_validation_config.php Diff ] File ]
mod - /modules/in-link/branches/5.2.x/units/listings/listings_config.php Diff ] File ]
Modules :: In-Commerce: 5.2.x r15030
Timestamp: 2012-01-10 08:35:36
Author: alex
Details ] Diff ]
Bug 0001191: Remove RunMode from Scheduled Tasks
mod - /w/in-commerce/branches/5.2.x/units/affiliates/affiliates_config.php Diff ] File ]
mod - /w/in-commerce/branches/5.2.x/units/affiliates/affiliates_event_handler.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-07-25 05:32 alex Note Added: 0004994
2012-07-25 05:32 alex Status resolved => closed
2012-07-09 11:10 alex Relationship added related to 0001341
2012-07-09 11:06 alex Relationship added related to 0001340
2012-07-09 11:06 alex Relationship added related to 0000981
2012-07-09 10:50 alex Relationship added related to 0001339
2012-02-06 03:42 alex Relationship added related to 0001203
2012-01-11 02:29 alex Changeset attached 5.2.x r15035
2012-01-11 02:29 alex Note Added: 0004404
2012-01-11 02:28 alex File Added: remove_before_scheduled_tasks_core_fix.patch
2012-01-10 08:39 alex Changeset attached 5.2.x r15033
2012-01-10 08:39 alex Note Added: 0004402
2012-01-10 08:39 alex Status reviewed and tested => resolved
2012-01-10 08:39 alex Fixed in Version => 5.2.0-B1
2012-01-10 08:39 alex Resolution open => fixed
2012-01-10 08:39 alex Assigned To !COMMUNITY => alex
2012-01-10 08:39 alex Changeset attached 5.2.x r15032
2012-01-10 08:38 alex Changeset attached 5.2.x r15031
2012-01-10 08:35 alex Changeset attached 5.2.x r15030
2012-01-10 08:34 alex Changeset attached 5.2.x r15029
2012-01-10 08:34 alex Note Added: 0004401
2012-01-10 08:34 alex Status needs testing => reviewed and tested
2012-01-10 08:27 alex Assigned To => !COMMUNITY
2012-01-10 08:27 alex Developer => alex
2012-01-10 08:27 alex Status active => needs testing
2012-01-10 08:27 alex File Added: remove_before_scheduled_tasks_modules.patch
2012-01-10 08:27 alex File Added: remove_before_scheduled_tasks_core.patch
2012-01-10 06:49 alex Reference => https://groups.google.com/d/topic/in-portal-dev/qNkFwyXrILQ/discussion
2012-01-10 06:32 alex New Issue
2012-01-10 06:32 alex Change Log Message => Removes "before" scheduled tasks term
2012-01-10 06:32 alex Estimate Points => 1



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

Powered by Mantis Bugtracker