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

staticcache_cleanup.php cronjob can fatal error

    XMLWordPrintable

Details

    Description

      When all the rows in a loop fail to be fetched, $inSQL is empty, and the last query (DELETE FROM ezpending_actions) will fail with a fatal error.

      This comes from the "if ( $fileContentCache[$source] === false )" that doesn't do anything if fetching fails. All failing items will remain undeleted frm the DB, and the last loop will fail.

      We need to figure out a proper way to handle failing URLs.

      Attachments

        Activity

          People

            ls ls
            jkn jkn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: