Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20752

EzscriptMonitor - Monitor page is not updated

    XMLWordPrintable

Details

    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

        Activity

          People

            Unassigned Unassigned
            pedro.resende-obsolete@ez.no Pedro Resende (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 6 hours, 30 minutes
                2d 6h 30m