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

Changing classes with a lot of objects can result in a maximum execution time error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: 3.6.11, 3.7.9, 3.8.6, 3.9.0
    • Fix Version/s: Customer request
    • Component/s: Documentation, Misc
    • Labels:
      None

      Description

      Changing classes with a lot of objects can result in a maximum execution time error, leaving your content objects inconsistent with your content class definition.

      Please do not replace existing class with it's temporary version when too many objects exist of it (specify a limit in an INI file) and instruct to run a script like http://ez.no/community/contribs/hacks/update_class_from_command_line instead.

      This is similar to what has been done for the removal of nodes with too many children.

      1. addmissingobjectattributes.php
        11 kB
        (inactive) Gunnstein Lye
      2. addmissingobjectattributes.php
        10 kB
        (inactive) Gunnstein Lye
      3. addmissingobjectattributes.php
        8 kB
        (inactive) Gunnstein Lye
      4. addmissingobjectattributes.php
        8 kB
        Bertrand Dunogier
      5. addmissingobjectattributes.php
        10 kB
        (inactive) Gunnstein Lye
      6. addmissingobjectattributes-interruptible.php
        9 kB
        (inactive) Gunnstein Lye
      7. issue_10203_example_add_more.patch
        25 kB
        Kristof Coomans
      8. issue_10203_example_add.patch
        6 kB
        Kristof Coomans

        Issue Links

          Activity

          Hide
          Quoc-Huy NGUYEN DINH added a comment -

          Hi,

          What would be required to use this extension in an oracle installation of eZ?
          Would it just be a matter of converting the SQL queries from MySQL to Oracle or do you need to rewrite some code?

          Regards
          Huy

          Show
          Quoc-Huy NGUYEN DINH added a comment - Hi, What would be required to use this extension in an oracle installation of eZ? Would it just be a matter of converting the SQL queries from MySQL to Oracle or do you need to rewrite some code? Regards Huy
          Hide
          (inactive) Gunnstein Lye added a comment -

          In reply to comment #055474
          I am pretty sure it is only the SQL queries that would need to be rewritten.
          Best regards,

          Show
          (inactive) Gunnstein Lye added a comment - In reply to comment #055474 I am pretty sure it is only the SQL queries that would need to be rewritten. Best regards,
          Hide
          Quoc-Huy NGUYEN DINH added a comment -

          In reply to comment #055475
          All right, thanks for this.
          We'll do some test here.

          Show
          Quoc-Huy NGUYEN DINH added a comment - In reply to comment #055475 All right, thanks for this. We'll do some test here.
          Hide
          Patrick Allaert added a comment -

          As per eZ Publish 4.3, ezscriptmonitor extension is bundled by default which provides a way to deffer that kind of modification to cronjobs.
          This extension is not enabled by default.

          Show
          Patrick Allaert added a comment - As per eZ Publish 4.3, ezscriptmonitor extension is bundled by default which provides a way to deffer that kind of modification to cronjobs. This extension is not enabled by default.
          Hide
          Geir Arne Waaler added a comment -

          I will look into the documentation requirements.

          Show
          Geir Arne Waaler added a comment - I will look into the documentation requirements.

            People

            • Assignee:
              Patrick Allaert
              Reporter:
              Kristof Coomans
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: