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

When cache removal fails, no message is displayed

    XMLWordPrintable

    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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              paulo.bras-obsolete@ez.no 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