google-code-export / candydolldb

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

Clean Cache button not checking for missing physical files #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Delete all images in cache folder
2. Go to any page that uses cache images, images do not re-cache
3. Go to Admin Panel, number of orphan images roughly equal to what was deleted
4. Click on Clean image cache, nothing happens

What is the expected output? What do you see instead?
Clean image cache function should also check for listings in cache-image table 
that do not have a physical file, but it only checks for images missing from 
cache table but located in cache folder

Please provide any additional information below.
Only way to fix this is to manually click Delete image on image overlay, or 
drop / rebuild cacheimage table

Original issue reported on code.google.com by mranimos...@gmail.com on 23 Feb 2012 at 12:26

GoogleCodeExporter commented 9 years ago
I'm pleased issues like this one are found and addressed.

If you would like to take this one up?

FWieP

Original comment by fwp...@gmail.com on 23 Feb 2012 at 5:36

GoogleCodeExporter commented 9 years ago
Fixed with r325 and r326

Original comment by mranimos...@gmail.com on 23 Feb 2012 at 8:22

GoogleCodeExporter commented 9 years ago

Original comment by mranimos...@gmail.com on 23 Feb 2012 at 8:23