User tests: Successful: Unsuccessful:
Partial Pull Request for Issue #13357
Similar to #13524 this tries to make the JModelLegacy
class resilient to cache related issues.
The call to clean the cache is now wrapped in a try/catch so a cache error doesn't result in something calling that method and catching exceptions treating the operation as a failure or an unhandled exception in general.
A new parameter is added to the arguments array for the cache clean event dispatched after this with a boolean flag indicating the result of the clean operation.
If the cache store fails to connect or the cache configuration is bad, the exceptions thrown by the cache API should be caught and JModelLegacy::cleanCache()
won't cause an uncaught exception from the cache API to bubble up the call stack. When clearing the cache fails here, the event should be dispatched with the result flag being false.
N/A
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
I have tested this item
I have tested this item
Milestone |
Added: |
||
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
?
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-02-08 14:07:20 |
Closed_By | ⇒ | rdeutz | |
Labels |
I have tested this item✅ successfully on a5c44ef
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13917.