? Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
3 Nov 2016

Pull Request for Issue #12492.

Summary of Changes

This removes showon from global config cache fields.

Testing Instructions

  1. Apply patch
  2. Go to global config, now cache options are always visible.

Documentation Changes Required

None.

avatar andrepereiradasilva andrepereiradasilva - open - 3 Nov 2016
avatar andrepereiradasilva andrepereiradasilva - change - 3 Nov 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Nov 2016
Category Administration Components
avatar brianteeman
brianteeman - comment - 3 Nov 2016

Is this really the correct fix for the problem? It appears to be that either the page cache plugin is re-using options it shoudnt be using OR the page cache plugin should be managed from global config

avatar ggppdk ggppdk - test_item - 3 Nov 2016 - Tested successfully
avatar ggppdk
ggppdk - comment - 3 Nov 2016

I have tested this item successfully on 96fdb86


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12742.

avatar mbabker
mbabker - comment - 3 Nov 2016

It's not just the page cache plugin. In theory these fields being hidden could cause issues for anything that's overriding the global cache config and caching anyway using the configured cache handler (like our own template for joomla.org does with the HTML elements fetched from the CDN).

So there's a twofold issue here. One is site admins need to be able to ensure these configs are good even if global cache is disabled. Two is extensions which are caching even when global cache is disabled need to take extra precautions to not fail miserably (something they can do a bit better with 3.6.3+ with the storage handler factory throwing more specialized Exceptions).

avatar andrepereiradasilva
andrepereiradasilva - comment - 3 Nov 2016

The problem IMHO is as it is we can't having caching enabled. but only for components/plugins, ie, not using conservative/progressive caching.

So we:

  • either do this PR
  • We add a new caching option "Enabled" (confunsing IMO) to global config that will only be used by cache plugins that would check if that setting is enabled.
  • other

The thing is when you have page cache enabled you probably don't need the other caching option IMO so you diable cache in global config, but page cache plugin reads the values from global config.

asking @mbabker opinion on this (when you have time)

UPDATE: ups seems michael responded while i was writing

avatar brianteeman
brianteeman - comment - 3 Nov 2016

OK so that means
1. we do need to remove the showon
2. we need to re-evaluate the order and labels of the existing fields in global configuration

2 will make it clearer that some of the fields are options that apply across joomla and not just for the 3 cache options presented in global config

avatar mbabker
mbabker - comment - 3 Nov 2016

This PR's good as is for a starting point. As far as changing labels, the only thing I can immediately suggest is that the Cache Handler field be a little more clear that this is the default handler used by all of Joomla regardless of whether caching is enabled in the global config.

avatar andrepereiradasilva
andrepereiradasilva - comment - 3 Nov 2016

Maybe "Cache" needs to be "System Cache" or something like that. But don't know.

avatar brianteeman
brianteeman - comment - 3 Nov 2016

yes I was thinking that it was the "Cache" label that needed changing (not
quite sure what to)

And then maybe add a separator between that field and the others

On 3 November 2016 at 22:16, andrepereiradasilva notifications@github.com
wrote:

Maybe "Cache" needs to be "System Cache" or something like that. But don't
know.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#12742 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8ca3u3TquBy0MSMMge3clC2OQmG5ks5q6l1SgaJpZM4Ko9yF
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
https://brian.teeman.net/ http://brian.teeman.net/

avatar andrepereiradasilva
andrepereiradasilva - comment - 3 Nov 2016

And probably be the last one.
Should we merge this as it is (one more test) since it solve the issue itself, and them do the rest?

avatar brianteeman
brianteeman - comment - 3 Nov 2016

If you can move the cache field to the end in this PR then it will be
quicker/easier I think

On 3 November 2016 at 22:20, andrepereiradasilva notifications@github.com
wrote:

And probably be the last one.
Should we merge this as it is (one more test) since it solve the issue
itself, and them do the rest?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#12742 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8b3mRLgQKaZNoMYzf22JbjFNObveks5q6l4hgaJpZM4Ko9yF
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
https://brian.teeman.net/ http://brian.teeman.net/

avatar andrepereiradasilva andrepereiradasilva - change - 3 Nov 2016
Labels Added: ?
avatar andrepereiradasilva
andrepereiradasilva - comment - 3 Nov 2016

ok, done (also done micro cs changes)

avatar andrepereiradasilva
andrepereiradasilva - comment - 3 Nov 2016

humm many we need to change the session part to to be consistent

Proposal for Cache And Session

  • Handler
    • (Handler config)
  • Time
  • Other 1
  • Other 2
avatar brianteeman
brianteeman - comment - 3 Nov 2016

Handler
Time

Platform

System Cache

??

avatar andrepereiradasilva
andrepereiradasilva - comment - 3 Nov 2016

ok, this way. is this ok? if so please test

image

avatar brianteeman
brianteeman - comment - 3 Nov 2016

can we change the string as well?

avatar andrepereiradasilva
andrepereiradasilva - comment - 3 Nov 2016
avatar joomla-cms-bot joomla-cms-bot - change - 3 Nov 2016
Category Administration Components Administration Components Language & Strings
avatar brianteeman brianteeman - test_item - 3 Nov 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 3 Nov 2016

I have tested this item successfully on acac248


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12742.

avatar andrepereiradasilva
andrepereiradasilva - comment - 3 Nov 2016

@ggppdk please test again

avatar ggppdk ggppdk - test_item - 3 Nov 2016 - Tested successfully
avatar ggppdk
ggppdk - comment - 3 Nov 2016

I have tested this item successfully on acac248

Tested, also looks good on code review of showon="..." changes for memcache / memcached / redis that removed: caching:1,2[AND]


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12742.

avatar andrepereiradasilva
andrepereiradasilva - comment - 3 Nov 2016

thanks

avatar dgt41 dgt41 - test_item - 3 Nov 2016 - Tested successfully
avatar dgt41
dgt41 - comment - 3 Nov 2016

I have tested this item successfully on acac248


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12742.

avatar dgt41 dgt41 - change - 3 Nov 2016
Status Pending Ready to Commit
avatar dgt41
dgt41 - comment - 3 Nov 2016

RTC

avatar rdeutz rdeutz - change - 4 Nov 2016
Milestone Added:
avatar rdeutz rdeutz - change - 4 Nov 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-11-04 09:45:44
Closed_By rdeutz
avatar rdeutz rdeutz - close - 4 Nov 2016
avatar rdeutz rdeutz - merge - 4 Nov 2016
avatar rdeutz rdeutz - reference | ac5483e - 4 Nov 16
avatar rdeutz rdeutz - merge - 4 Nov 2016
avatar rdeutz rdeutz - close - 4 Nov 2016

Add a Comment

Login with GitHub to post a comment