? Success

User tests: Successful: Unsuccessful:

avatar csthomas
csthomas
22 Aug 2016

Summary of Changes

Do not block backend or frontend if cache handler stop working.

This is another version of #10815.

Testing Instructions

Instruction say to first apply PR and test then remove PR and test again (simple way), but you can do it backwards.

1) Install the newest version of Joomla (3.6.2 or 3.6.3-dev)
2) In Global Configuration enable cache and set Cache Handler to "File"
3) Now everything is working
4) Apply that PR.
5) Change file permission for directory cache/ and administrator/cache, remove write access for all. Set permission as 555 (or r-xr-xr-x)
6) Check administrator page and front end page.
7) Only notice about cache problem should be displayed but joomla works normal.
8) Revert patch
9) Back end now display "The file Cache Storage is not supported on this platform. " and you can not change anything.
On front page you see only raw text:

Error displaying the error page: The file Cache Storage is not supported on this platform.: The file Cache Storage is not supported on this platform.

Documentation Changes Required

No

avatar joomla-cms-bot joomla-cms-bot - change - 22 Aug 2016
Category Repository Libraries Unit Tests
avatar csthomas csthomas - open - 22 Aug 2016
avatar csthomas csthomas - change - 22 Aug 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Aug 2016
Labels Added: ? ?
avatar csthomas
csthomas - comment - 22 Aug 2016

@mbabker Thanks, I had to rebase that PR to staging and meantime have fixed it.

avatar csthomas csthomas - change - 22 Aug 2016
The description was changed
avatar jeckodevelopment jeckodevelopment - change - 22 Aug 2016
The description was changed
Labels Added: ?
avatar csthomas csthomas - change - 22 Aug 2016
The description was changed
avatar csthomas
csthomas - comment - 22 Aug 2016

@jeckodevelopment Instruction has been added.

avatar jeckodevelopment jeckodevelopment - change - 22 Aug 2016
Title
[RFC] [cache] Catch cache storage exception
[cache] Catch cache storage exception
Labels Removed: ?
avatar csthomas
csthomas - comment - 24 Aug 2016

@jeckodevelopment Can I ask you to remove label "Unit/System Tests"?

avatar joomla-cms-bot joomla-cms-bot - change - 24 Aug 2016
Category Repository Libraries Unit Tests Libraries
avatar jeckodevelopment
jeckodevelopment - comment - 24 Aug 2016

@csthomas done :)

avatar csthomas csthomas - change - 30 Aug 2016
The description was changed
avatar csthomas csthomas - edited - 30 Aug 2016
avatar csthomas csthomas - change - 28 Sep 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-09-28 11:40:41
Closed_By csthomas
avatar csthomas csthomas - close - 28 Sep 2016

Add a Comment

Login with GitHub to post a comment