Bug #6620

./flow3 cache flush throws Exception in "..../Cache/Backend/FileBackend.php line 197"

Added by Thomas Fritz over 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Should have
Category:
Cache
Start date:
2010-02-26
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

developer@wda ~ $ ./flow3 cache flush

Uncaught Exception in FLOW3 #1: Warning: Invalid argument supplied for foreach() in /home/developer/vhosts/flow3/www/Packages/Framework/FLOW3/Classes/Cache/Backend/FileBackend.php line 197
thrown in file Packages/Framework/FLOW3/Classes/Error/ErrorHandler.php
in line 82


Files

bug_6620.diff (761 Bytes) bug_6620.diff Thomas Fritz, 2010-02-26 16:24
#2

Updated by Karsten Dambekalns over 11 years ago

  • Status changed from New to Accepted
  • Assignee set to Karsten Dambekalns
  • Priority changed from Must have to Should have
  • Target version set to 1.0 alpha 8

Well, glob() usually returns an array, so it seems something with your cache's file structure went wrong. Anyway, I'd rather fix this so that findTagFilesByEntry() always returns an array, even if glob() fails.

#3

Updated by Karsten Dambekalns over 11 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3906.

Also available in: Atom PDF