? Failure

User tests: Successful: Unsuccessful:

avatar degobbis
degobbis
3 Jul 2020

Summary of Changes

Code adapted for the use of JLayout. The field can than be overwritten using a layout file.
cc @zero-24

Addition:
If we assume this PR, we can remove the overrides in all fields that depends on this one.
They all then use the layout renderer method of this field.

I will gladly make the adjustments of dependend fields in a separate PR if this change is accepted.

Testing Instructions

Go into Joomla backend and select Menus->Main menu

Actual result BEFORE applying this Pull Request

The list field for filtering (or each other list field), works and looks as expected.

listFilds

Expected result AFTER applying this Pull Request

The list field for filtering (or each other list field), works and looks as expected.
Nothing breaks.

Documentation Changes Required

None.

avatar degobbis degobbis - open - 3 Jul 2020
avatar degobbis degobbis - change - 3 Jul 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jul 2020
Category Layout Libraries
avatar degobbis degobbis - change - 3 Jul 2020
Labels Added: ?
avatar ChristineWk ChristineWk - test_item - 4 Jul 2020 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 4 Jul 2020

I have tested this item successfully on b43f6af


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

@degobbis tried some filter after selecting: Menus->Main menu (they were OK) - don't know which you mean exactly.

avatar degobbis degobbis - change - 12 Jul 2020
The description was changed
avatar degobbis degobbis - edited - 12 Jul 2020
avatar degobbis
degobbis - comment - 12 Jul 2020

@degobbis tried some filter after selecting: Menus->Main menu (they were OK) - don't know which you mean exactly.

@ChristineWk Thx for testing.
For a better understanding I have extended the test instruction a little

avatar degobbis degobbis - change - 12 Jul 2020
The description was changed
avatar degobbis degobbis - edited - 12 Jul 2020
avatar degobbis degobbis - change - 12 Jul 2020
Title
Jlayout for list field
[POC] Jlayout for list field
avatar degobbis degobbis - edited - 12 Jul 2020
avatar Fedik
Fedik - comment - 12 Jul 2020

J4 already have it, I hope you copied this one from J4 https://github.com/joomla/joomla-cms/blob/4.0-dev/layouts/joomla/form/field/list.php :)
Then this is okay

avatar degobbis
degobbis - comment - 12 Jul 2020

Not exactly, because the layout in J4 does not quite match the processing of the field in J3.
But I have transferred the generation from the list field into a separate layout file.

avatar degobbis
degobbis - comment - 12 Jul 2020

The trevis-ci test crashes on this line:
https://github.com/joomla/joomla-cms/blob/3.10-dev/libraries/joomla/session/handler/native.php#L235

Comming from here:
https://github.com/joomla/joomla-cms/blob/3.10-dev/libraries/cms/html/category.php#L48

Startet from this call:
https://github.com/joomla/joomla-cms/blob/3.10-dev/libraries/legacy/form/field/category.php#L65

When I tested it on the staging or 3.10-dev branch, without a PR, it also crashes on the same line.
Is someone here that has an idea how to fix it?

avatar TheWhykiki TheWhykiki - test_item - 29 Jun 2021 - Tested successfully
avatar TheWhykiki
TheWhykiki - comment - 29 Jun 2021

I have tested this item successfully on 0ed76e6

No problems found, works fine.


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

avatar degobbis degobbis - change - 20 Aug 2021
Labels Added: ?
Removed: ?
avatar zero-24
zero-24 - comment - 21 Jul 2022

Hi @degobbis I'm sorry that this has never been merged into the J3 series. While I was involved in the initial thought process building up to this PR. I agree now that this PR should not be merged into J3. I understand and remember our thoughts but I'm not intending to change the behavior now with the last regular release of J3

Thanks for the PR and thanks for understanding

avatar zero-24 zero-24 - close - 21 Jul 2022
avatar zero-24 zero-24 - change - 21 Jul 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-07-21 17:25:10
Closed_By zero-24

Add a Comment

Login with GitHub to post a comment