google-code-export / candydolldb

Automatically exported from code.google.com/p/candydolldb
0 stars 0 forks source link

Missing Cache folder not generating errors on cache creation #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Delete your Cache folder from the file system.
2. Go to any page that generates cache thumbnails.
3. Cache thumbnails are written to the cache table in the DB, but not to disk 
since folder is missing.
4. Go to Admin Panel and see 'UnexpectedValueException with message 
RecursiveDirectoryIterator' error.

What is the expected output? What do you see instead?
Expected output is Cache folder should be there in the first place and cache 
generation should create the files.

When the user runs setup.php maybe the script should check for the existence of 
the Cache folder and create it if not

Original issue reported on code.google.com by mranimos...@gmail.com on 1 Aug 2012 at 4:33

GoogleCodeExporter commented 9 years ago
We could put a README file in the released archives of CDDB. That way, the 
folder would have to be created upon installation.

But, you are correct. The application should do its own dirty work. The 
folder-check should be added to both setup.php and setup_v1x...php.

Original comment by fwp...@gmail.com on 2 Aug 2012 at 10:42

GoogleCodeExporter commented 9 years ago
Should be resolved in r653.

Original comment by fwp...@gmail.com on 3 Aug 2012 at 11:12