RTC Language Change PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar rdeutz
rdeutz
26 Sep 2024

Summary of Changes

The new article model has a article id filtering, it was a simple text field where you could add ids. This is changed to a subform with a article modal to chose articles. Further more it is not possible to exclude and include articles by id at the same time.

I have changed the configuration of the module so that is only allow what is possible.

Exclude Mode

02A9B0B4-0C64-41F5-B220-08A8EF8F9B00

Include Mode

4317BFBF-3F9F-42AE-8707-688B8A3AAC8C

Testing Instructions

Try to exclude some articles and include some articles. Check if the module show the expected articles.

Expected result AFTER applying this Pull Request

Module shows the expected articles

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar rdeutz rdeutz - open - 26 Sep 2024
avatar rdeutz rdeutz - change - 26 Sep 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Sep 2024
Category Language & Strings Modules Front End
2107801 26 Sep 2024 avatar rdeutz fixes
avatar rdeutz rdeutz - change - 26 Sep 2024
Labels Added: Language Change PR-5.2-dev
avatar rdeutz
rdeutz - comment - 26 Sep 2024

Thanks for the corrections @brianteeman.

avatar drmenzelit
drmenzelit - comment - 26 Sep 2024

I got an error testing the PR:
grafik

avatar drmenzelit drmenzelit - test_item - 26 Sep 2024 - Tested successfully
avatar drmenzelit
drmenzelit - comment - 26 Sep 2024

I have tested this item ✅ successfully on df87c15

Thank you Robert!


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

avatar Kostelano
Kostelano - comment - 26 Sep 2024

The module parameters are also used in the plugin with demo data. We probably need to make changes in file plugins/sampledata/blog/src/Extension/Blog.php, because demo data creates 3 modules of type ARTICLES after installation.

UPD
Or do it after merging about 5 new PRs for this module.

avatar RickR2H RickR2H - test_item - 27 Sep 2024 - Tested successfully
avatar RickR2H
RickR2H - comment - 27 Sep 2024

I have tested this item ✅ successfully on df87c15

Works! The tabs ans spaces issue has be resolved but that has no influence on the test results. please restore test results when the spacing issue is solved.


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

avatar RickR2H RickR2H - test_item - 27 Sep 2024 - Tested successfully
avatar RickR2H
RickR2H - comment - 27 Sep 2024

I have tested this item ✅ successfully on efdf4bc


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

avatar drmenzelit drmenzelit - test_item - 27 Sep 2024 - Tested successfully
avatar drmenzelit
drmenzelit - comment - 27 Sep 2024

I have tested this item ✅ successfully on efdf4bc


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

avatar RickR2H RickR2H - change - 27 Sep 2024
Status Pending Ready to Commit
avatar RickR2H
RickR2H - comment - 27 Sep 2024

RTC


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

avatar brianteeman
brianteeman - comment - 27 Sep 2024

I do not think it is correct that the option to exclude the current article is only available if you have defined a list of articles to exclude. This option should be independent of any other settings.

USE CASE
I want to include articles 1,2,3,4,5 in the module but I do not want to include the article I am currently viewing

avatar RickR2H
RickR2H - comment - 27 Sep 2024

@brianteeman Agreed, but we are in a hurry to get everything done so we have a least a stable module. This behaviour can be fixed in a new PR. I'll put it on the list of things to do regarding the module.

avatar brianteeman
brianteeman - comment - 27 Sep 2024

Less haste more speed. No reason to accept "do it later" approach ever

avatar Hackwar Hackwar - change - 27 Sep 2024
Labels Added: RTC
avatar Hackwar Hackwar - change - 27 Sep 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-09-27 20:51:24
Closed_By Hackwar
avatar Hackwar Hackwar - close - 27 Sep 2024
avatar Hackwar Hackwar - merge - 27 Sep 2024
avatar Hackwar
Hackwar - comment - 27 Sep 2024

Thank you @rdeutz for your contribution.

avatar brianteeman
brianteeman - comment - 27 Sep 2024

grrh

avatar rdeutz
rdeutz - comment - 28 Sep 2024

I do not think it is correct that the option to exclude the current article is only available if you have defined a list of articles to exclude. This option should be independent of any other settings.
USE CASE
I want to include articles 1,2,3,4,5 in the module but I do not want to include the article I am currently viewing

As I wrote:

Further more it is not possible to exclude and include articles by id at the same time.

You can only select true or false for

$articles->setState('filter.article_id.include', [true|false]);

If you really want to implement the use case you would have to look, if the current article is part of the list of included articles. Doable but I didn't thought so far. We can do this with 5.3.

avatar brianteeman
brianteeman - comment - 28 Sep 2024

That's a disappointing loss of functionality

Add a Comment

Login with GitHub to post a comment