Bug Report #3583

Inconsistent returning of array of found files in Kohana::Find_File when Caching is enabled

Added by Joe Noyes about 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:01/13/2011
Priority:NormalDue date:
Assignee:Woody Gilk% Done:


Category:CoreEstimated time:0.50 hour
Target version:v3.0.10
Resolution:duplicate Points:


When trying to find an array of files using Kohana::Find_File() with caching enabled, the cache only accounts for the path and not the setting for an array. For example, if we find the prevalent

$file = Kohana::find_file('views','_template/default');

This returns a single string path to the file.

$files = Kohana::find_file('views','_template/default',NULL,TRUE);

With caching disabled, this returns an array of available templates. With caching enabled, $files is the same as $file.

Related issues

Duplicated by Kohana v3.x - Bug Report #3674: Problem with Kohana_CoreTest::test_find_file_returns_fals... Closed 01/31/2011


#1 Updated by Jeremy Bush about 4 years ago

  • Status changed from New to Closed
  • Resolution set to duplicate

Also available in: Atom PDF