J4 Issue ? ? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
11 Apr 2019

Summary of Changes

The filters are not displayed in 4.0, preventing a normal use of the Manager
This PR corrects the Overrrides Manager to get the same display as in 3.x

Testing Instructions

Before patch. No language client filters. Filter Options also broken.
Patch then make sure that 2 files are deleted:

  1. administrator/components/com_languages/Field/Languageclient.php
    it is replaced in the patch by
    administrator/components/com_languages/Field/LanguageclientField.php

  2. administrator/components/com_languages/layouts/joomla/searchtools/default/bar.php has to be DELETED.
    We now use the new file
    administrator/components/com_languages/layouts/joomla/searchtools/default.php

EDIT: for those using patchtester, it will work ok if bar.php is not deleted.

Before patch

No filters to choose from in order to create overrides.
Filter Options as well as column ordering and limit box are broken.

After patch

Filters are back.
Screen Shot 2019-04-11 at 07 27 38

Screen Shot 2019-04-10 at 17 32 19

Screen Shot 2019-04-11 at 07 34 45

@wilsonge @alikon

Note: this patch does not prevent, for the Ajax specialists, to improve the whole stuff.
It just corrects the functionality as it works in 3.x
See discussion #22107 , speciffically posts by @coolcat-creations

avatar infograf768 infograf768 - open - 11 Apr 2019
avatar infograf768 infograf768 - change - 11 Apr 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Apr 2019
Category Administration com_admin com_languages Language & Strings
avatar infograf768 infograf768 - change - 11 Apr 2019
The description was changed
avatar infograf768 infograf768 - edited - 11 Apr 2019
avatar infograf768
infograf768 - comment - 11 Apr 2019

Note: npm not necessary.

avatar infograf768 infograf768 - change - 11 Apr 2019
Labels Added: J4 Issue ? ?
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 Apr 2019

Try to create a new Language Override got:

Screen Shot 2019-04-11 at 11 50 13

System information

Setting Value
PHP Built On Linux lamp122.cloudaccess.net 3.10.0-962.3.2.lve1.5.24.7.el6h.x86_64 nr.1 SMP Mon Dec 17 12:02:35 EST 2018 x86_64
Database Type mysql
Database Version 5.7.24-cll-lve
Database Collation utf8_general_ci
Database Connection Collation utf8_general_ci
PHP Version 7.1.26
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Latest Nightly Build Update from Joomla! 4.0.0-alpha8-dev Development [ Amani ] 9-March-2019 13:41 GMT
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:66.0) Gecko/20100101 Firefox/66.0
avatar infograf768
infograf768 - comment - 11 Apr 2019

The file concerned by your error has been already corrected in this patch. There is no more JFactory in the file:
~/administrator/components/com_languages/View/Override/HtmlView.php

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 Apr 2019

So first apply Patch, then create new Override?

avatar infograf768 infograf768 - change - 11 Apr 2019
The description was changed
avatar infograf768 infograf768 - edited - 11 Apr 2019
avatar infograf768
infograf768 - comment - 11 Apr 2019

So first apply Patch, then create new Override?

yes, you can't otherwise

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 Apr 2019

I have tested this item successfully on f59858e


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

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 Apr 2019

I have tested this item successfully on f59858e


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 11 Apr 2019 - Tested successfully
avatar wilsonge wilsonge - change - 11 Apr 2019
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-04-11 10:11:03
Closed_By wilsonge
avatar wilsonge wilsonge - close - 11 Apr 2019
avatar wilsonge wilsonge - merge - 11 Apr 2019
avatar wilsonge
wilsonge - comment - 11 Apr 2019

Thanks!

Add a Comment

Login with GitHub to post a comment