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

When cache removal fails, no message is displayed

    Details

      Description

      if a remove cache operation in the legacy kernel fails, there are no warnings in log, messages or any display of the failed result at all.

      the ezDir::recursiveDelete() returns "false" on failure, but this result is not used. also, the function itself does not issue any warning or error to the logs.

      test case:

      • symlink some var/cache/ini folder to some place outside root dir, or manually remove it
      • with debug enabled, clear ini caches from admin or command line with --clear-tag=ini
      • caches in that folder are not deleted (or found), but no message about the result can be seen, either in the logs or the result of the operation

        Issue Links

          Activity

          Show
          Paulo Bras (Inactive) added a comment - pull request: https://github.com/ezsystems/ezpublish-legacy/pull/979
          Show
          Jérôme Vieilledent (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-legacy/commit/e9bfd8cea86d3b42967c18b92a0d30d5233bcc17
          Hide
          Paulo Nunes (Inactive) added a comment -

          QA Aproveed

          Show
          Paulo Nunes (Inactive) added a comment - QA Aproveed

            People

            • Assignee:
              Unassigned
              Reporter:
              Paulo Bras (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              6 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 - 6 hours
                6h