cross-solution / YAWIK

YAWIK is a web application. It can be used as an ATS applicant tracking system or as a jobboard.
https://yawik.org
MIT License
125 stars 67 forks source link

ClearCacheService does not work as expected. #505

Closed TiSiE closed 5 years ago

TiSiE commented 6 years ago

I run into several issues with the ClearCacheService

cbleek commented 5 years ago

@TiSiE does it works now as expected?

kilip commented 5 years ago

I forget to report back in this issue, depth=0 in line 106 limit finder to find only in the root of cache dir:

https://github.com/cross-solution/YAWIK/blob/a4f149b1d99e574560944a8b6d75f7673b6a0a7b/module/Core/src/Service/ClearCacheService.php#L101-L113

So doctrine cache now is not wiped.

I am also set umask(0000), which means the file created by php in apache or in console should be writable to everyone.

TiSiE commented 5 years ago

Yeah, it works now.