? Success

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
26 Dec 2015

Whilst we have a b/c policy to maintain. In this very special case I'd like to propose removing this method. It is completely and irreversibly broken. It stems from http://help.joomla.org/helpsites.xml not actually existing as a file. Me and @mbabker removed the entire Joomla 1.0 site there so it was just the minimum required for the 1.0 and 1.5 help screens. This file didn't even exist at that point - which means it's been broken for a long long time as it's getting the html page contents and pushing it into the JPATH_BASE . '/help/helpsites.xml if it ever gets called. This will then screw the actual help sites list in com_config in the currently used method.

Therefore I think this is a special case to our usual b/c policy because using this method will actively break the Joomla API. So I'd like to propose removing it in Joomla 3.5 (and technically our b/c policy doesn't cover extensions anyhow)

avatar wilsonge wilsonge - open - 26 Dec 2015
avatar wilsonge wilsonge - change - 26 Dec 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Dec 2015
Labels Added: ?
avatar wilsonge wilsonge - change - 26 Dec 2015
The description was changed
avatar roland-d roland-d - assigned - 26 Dec 15
avatar Bakual
Bakual - comment - 27 Dec 2015

As you said, our B/C promise doesn't cover com_config anyway. So it would be fine for removal especially if it's broken anyway.
For testing I suppose just test that the "Refresh" button for the "Help Server" parameter in the Joomla configuration still works as before (or better).

avatar wilsonge
wilsonge - comment - 27 Dec 2015

The refresh button doesn't use this code. It uses the code JM pointed out via this form field https://github.com/joomla/joomla-cms/blob/3.4.8/libraries/cms/form/field/helpsite.php (and eventually ends up at http://help.joomla.org/proxy which is a separate Joomla install. This code (as far as I could tell) is literally unused in the CMS.

avatar Bakual
Bakual - comment - 27 Dec 2015

Yeah, assumed that. But just to make sure and to have some simple tests :)
Or if someone wants to confirm that code isn't called anywhere.

avatar andrepereiradasilva
andrepereiradasilva - comment - 27 Dec 2015

egrep -R 'refreshHelp' /path/to/joomla-cms/ only results in:

/path/to/joomla-cms/administrator/components/com_config/controllers/application.php
 public function refreshHelp()

In other words ... the file you are changing.

avatar infograf768
infograf768 - comment - 28 Dec 2015

I tested the patch here i.e. deleted the French help site from /administrator/help/helpsites.xml and used the refresh button. All went fine.
As for the use of the code deleted here, no idea tbh.

avatar Bakual Bakual - reference | 30e724f - 28 Dec 15
avatar Bakual Bakual - change - 28 Dec 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-12-28 18:27:19
Closed_By Bakual
avatar Bakual Bakual - close - 28 Dec 2015
avatar Bakual Bakual - merge - 28 Dec 2015
avatar Bakual Bakual - close - 28 Dec 2015
avatar wilsonge wilsonge - head_ref_deleted - 28 Dec 2015

Add a Comment

Login with GitHub to post a comment