Anonymous | Login | Signup for a new account | 2023-06-03 07:02 CDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Viewing Issue Simple Details [ Jump to Notes ] [ Wiki ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update | ||
0001340 | [In-Portal CMS] Data Management | bug report | always | 2012-07-09 11:02 | 2012-07-25 05:29 | ||
Reporter | alex | View Status | public | Project Name | In-Portal CMS | ||
Assigned To | alex | Developer | |||||
Priority | normal | Resolution | fixed | Fixed in Version | 5.2.0 | ||
Status | closed | Product Version | 5.0.0 | Target Version | 5.2.0 | ||
Time Estimate | No estimate | ||||||
Summary | 0001340: Don't use session in scheduled tasks | ||||||
Description |
Prevent scheduled tasks to work with session. By their nature scheduled tasks take data from external data source (database, disk) and operate on it. They can't store anything into session and expect that they will get that data back next time scheduled task is executed. Maybe they don't use session right now, but session is saved (again) after scheduled task execution finishes. |
||||||
Additional Information | |||||||
Tags | No tags attached. | ||||||
Reference | https://groups.google.com/d/topic/in-portal-dev/LKCfRhutepY/discussion | ||||||
Change Log Message | Fixes session usage from scheduled tasks | ||||||
Estimate Points | 1 | ||||||
Attached Files |
![]() |
||||||
|
![]() |
||||||||||||||||||||||||||
|
![]() |
|
![]() alex (manager) 2012-07-17 07:58 |
Done. Additionally I've added protection for cases, when user have set scheduled tasks to executed after page load (not from cron), but still added /tools/cron.php script to Cron. |
![]() alex (manager) 2012-07-17 07:58 |
Will test all together later. |
![]() alex (manager) 2012-07-17 08:01 |
Fix committed to 5.2.x branch. Commit Message: Fixes 0001340: Don't use session in scheduled tasks |
![]() alex (manager) 2012-07-25 05:29 |
Since 5.2.0 version was released. |
![]() |
|||
In-Portal CMS: 5.2.x r15456 Timestamp: 2012-07-17 08:01:52 Author: alex [ Details ] [ Diff ] |
Fixes 0001340: Don't use session in scheduled tasks | ||
mod - /in-portal/branches/5.2.x/core/kernel/application.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/tools/cron.php | [ Diff ] [ File ] | ||
![]() |
|||
Date Modified | Username | Field | Change |
2012-08-17 09:21 | alex | Relationship added | related to 0001375 |
2012-07-25 05:29 | alex | Note Added: 0004833 | |
2012-07-25 05:29 | alex | Status | resolved => closed |
2012-07-17 08:01 | alex | Changeset attached | 5.2.x r15456 |
2012-07-17 08:01 | alex | Note Added: 0004793 | |
2012-07-17 08:01 | alex | Status | reviewed and tested => resolved |
2012-07-17 08:01 | alex | Fixed in Version | => 5.2.0 |
2012-07-17 08:01 | alex | Resolution | open => fixed |
2012-07-17 08:01 | alex | Assigned To | !COMMUNITY => alex |
2012-07-17 07:58 | alex | Note Added: 0004792 | |
2012-07-17 07:58 | alex | Status | needs testing => reviewed and tested |
2012-07-17 07:58 | alex | Note Added: 0004791 | |
2012-07-17 07:58 | alex | Assigned To | => !COMMUNITY |
2012-07-17 07:58 | alex | Developer | => alex |
2012-07-17 07:58 | alex | Status | active => needs testing |
2012-07-17 07:56 | alex | File Added: prevent_scheduled_tasks_from_using_session.patch | |
2012-07-09 11:09 | alex | Relationship added | related to 0001341 |
2012-07-09 11:06 | alex | Relationship added | related to 0001191 |
2012-07-09 11:03 | alex | Relationship added | related to 0000981 |
2012-07-09 11:03 | alex | Relationship added | related to 0001339 |
2012-07-09 11:02 | alex | New Issue | |
2012-07-09 11:02 | alex | Reference | => https://groups.google.com/d/topic/in-portal-dev/LKCfRhutepY/discussion |
2012-07-09 11:02 | alex | Change Log Message | => Fixes session usage from scheduled tasks |
2012-07-09 11:02 | alex | Estimate Points | => 1 |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |