-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: PHP undefined notice in caching file storage #4752
Conversation
see: http://issues.joomla.org/tracker/joomla-cms/2535 #### Steps to reproduce the issue 1. configure caching to be file based in configuration.php 2. use callback as handler 3. lock the id 4. remove the cache file 5. unlock the id now #### Expected result If the cache file has beem removed, the unlock should just return true. #### Actual result Get php undefined variable notice: Notice: Undefined variable: ret in web/libraries/joomla/cache/storage/file.php on line <i>333</i> #### System information (as much as possible) Linux, Joomla 3.2 latest.
hmm i have no clue why travis fail here?
|
Don't worry about it, already addressed. Refactored tests and a modified application reference in two separate patches at nearly the exact time made for an interesting followup. |
thanks @mbabker |
@test successfull |
@zero-24 I tried to follow the test instructions but I struggle already at the 2nd point. How do I use callback as handler. Do I have to write code to test this or can it be tested within the backend? |
Fix: PHP undefined notice in caching file storage
see: http://issues.joomla.org/tracker/joomla-cms/2535 & #2535
Steps to reproduce the issue
Expected result
If the cache file has beem removed, the unlock should just return true.
Actual result
Get php undefined variable notice:
Notice: Undefined variable: ret in web/libraries/joomla/cache/storage/file.php on line 333
System information (as much as possible)
Linux, Joomla 3.2 latest.