In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1191 [In-Portal CMS] Other refactoring N/A 2012-01-10 06:32 2012-07-25 05:32
alex  
alex  
normal  
closed 5.1.3  
fixed  
 
none 5.2.0-B1  
https://groups.google.com/d/topic/in-portal-dev/qNkFwyXrILQ/discussion
Removes "before" scheduled tasks term
1
0001191: Remove RunMode from Scheduled Tasks
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.
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 
patch remove_before_scheduled_tasks_core.patch (24,330) 2012-01-10 08:27
http://tracker.in-portal.org/file_download.php?file_id=1475&type=bug
patch remove_before_scheduled_tasks_modules.patch (16,003) 2012-01-10 08:27
http://tracker.in-portal.org/file_download.php?file_id=1476&type=bug
patch remove_before_scheduled_tasks_core_fix.patch (393) 2012-01-11 02:28
http://tracker.in-portal.org/file_download.php?file_id=1478&type=bug
Issue History
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

Notes
(0004401)
alex   
2012-01-10 08:34   
Will test all together later.
(0004402)
alex   
2012-01-10 08:39   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001191: Remove RunMode from Scheduled Tasks
(0004404)
alex   
2012-01-11 02:29   
Patch "remove_before_scheduled_tasks_core_fix.patch" adds missing ALTER TABLE statement to upgrades.sql script.
(0004994)
alex   
2012-07-25 05:32   
Since 5.2.0 version was released.