Details
-
Bug
-
Resolution: Fixed
-
High
-
4.7.0, 5.0, 5.1.0rc1, 5.1
-
Server OS: Red Hat 6.4
PHP: 5.3.3
Database: MySQL 5.1.61
Browser: Firefox 20.0
Description
Editing/modifying a class with a large number of objects (e.g. 200.000) will cause eZScriptMonitor not to update the ezscheduled_script table.
Steps to reproduce:
1. Activate eZScriptMonitor extension;
2. Edit and modify a class with a large number of objects (e.g. 200.000).
3. Run the script php extension/ezscriptmonitor/bin/syncobjectattributes.php -s plain_site_admin --classid=2
4. Verify in the Setup > Script monitor -> syncobjectattributes.php that the progress remains at 0% and "Not started" status
5. Verify that the value in the ezscheduled_script table remains unchanged even after running the script
select * from ezscheduled_script; +-----------------------------------------------------------------------------------------------------+----+-----------------------+--------------------------+------------+----------+---------+ | command | id | last_report_timestamp | name | process_id | progress | user_id | +-----------------------------------------------------------------------------------------------------+----+-----------------------+--------------------------+------------+----------+---------+ | /usr/bin/php extension/ezscriptmonitor/bin/syncobjectattributes.php -s plain_site_admin --classid=2 | 1 | 1366701853 | syncobjectattributes.php | 0 | -1 | 14 | +-----------------------------------------------------------------------------------------------------+----+-----------------------+--------------------------+------------+----------+---------+ 1 row in set (0.01 sec)
then I've tried to run once again the script
php extension/ezscriptmonitor/bin/syncobjectattributes.php -s plain_site_admin --classid=2
and got the error
No class in a modified version status with ID: 2
Attachments
Issue Links
- blocks
-
EZP-20491 eZScriptMonitor - memory limit overflow
- Closed