RTC bug Small PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar HLeithner
HLeithner
21 Sep 2022

Since Joomla! 4 we have a useful addToolBar function in ListView which generates the toolbar pretty well. But it's missing to accept the filter.state instead of the legacy filter.published used in some components. Since Joomla ist self also uses filter.state it should support it here too.

Summary of Changes

Check current value of the state filter.state and filter.published.
I would not expect any b/c issues because both values are used for the same usecase and at the moment you have to override addToolbar anyway to use the filter.state.

Testing Instructions

Test core joomla extensions if filtering for the status "Trashed" still work.
Bonus create an extension which users filter.state as column field. (of course I tested it and it's working)

Actual result BEFORE applying this Pull Request

  • Trash button still Trash button

Expected result AFTER applying this Pull Request

  • Trash button is now a Delete button

Documentation Changes Required

Not really because base documentation is missing.

avatar HLeithner HLeithner - open - 21 Sep 2022
avatar HLeithner HLeithner - change - 21 Sep 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Sep 2022
Category Libraries
avatar richard67
richard67 - comment - 24 Sep 2022

Unit tests are consistently failing here, but I think it’s not related to this PR. The LDAP authentication tests are failing. Could be a problem on the 4.3-dev branch in general.

avatar richard67
richard67 - comment - 24 Sep 2022

P.S.: The LDAP tests have been added to 4.3-dev with PR #38593 . They one worked but now fail.

avatar HLeithner HLeithner - change - 26 Sep 2022
Labels Added: PR-4.3-dev
avatar HLeithner
HLeithner - comment - 26 Sep 2022

@richard67 pr was not uptodate with 4.3-dev branch and the openldap service was missing.

avatar HLeithner
HLeithner - comment - 30 Sep 2023

This pull request has been automatically rebased to 4.4-dev.

avatar Quy Quy - change - 20 Dec 2023
Labels Added: bug Small PR-4.4-dev
Removed: PR-4.3-dev
avatar tomsrocket
tomsrocket - comment - 24 Feb 2024

I spent some time trying to test this, but I could not confirm this works.
I am not sure I correctly understand how to test this.
Can you please add more detailed instructions how to test this?

avatar joomdonation
joomdonation - comment - 24 Feb 2024

@tomsrocket This class is actually not used in Joomla core, so it would be for someone with code review skill. So unless you have developer experience, please ignore this PR.

avatar joomdonation joomdonation - test_item - 24 Feb 2024 - Tested successfully
avatar joomdonation
joomdonation - comment - 24 Feb 2024

I have tested this item ✅ successfully on 628d53a

Code review !


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

avatar Quy Quy - test_item - 21 Mar 2024 - Tested successfully
avatar Quy
Quy - comment - 21 Mar 2024

I have tested this item ✅ successfully on 628d53a


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

avatar Quy Quy - change - 21 Mar 2024
Status Pending Ready to Commit
avatar Quy
Quy - comment - 21 Mar 2024

RTC


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

avatar Quy Quy - change - 21 Mar 2024
Labels Added: RTC
avatar laoneo laoneo - change - 22 Mar 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-03-22 12:03:01
Closed_By laoneo
avatar laoneo laoneo - close - 22 Mar 2024
avatar laoneo laoneo - merge - 22 Mar 2024
avatar laoneo
laoneo - comment - 22 Mar 2024

Thanks!

Add a Comment

Login with GitHub to post a comment