RTC PBF bug PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
13 Feb 2024

Pull Request for Issue #39775.

Summary of Changes

When Joomla is installed in a subdirectory and URLs are set to be completely non-SEF, the URLs in a feed output are wrong. Specifically, the path to the root of Joomla is doubled, for example https://domain.tld/subdir/subdir/index.php instead of just https://domain.tld/subdir/index.php
It works fine with SEF URLs enabled.

Testing Instructions

  1. Install Joomla in a subdirectory and disable all SEF URL options
  2. Go to a category view and look at the feed URL in the header.
  3. Download the feed and look into the output.

Actual result BEFORE applying this Pull Request

The link in for example <atom:link rel="self" type="application/rss+xml" is wrong

Expected result AFTER applying this Pull Request

The link in for example <atom:link rel="self" type="application/rss+xml" is correct.

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 Hackwar Hackwar - open - 13 Feb 2024
avatar Hackwar Hackwar - change - 13 Feb 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 Feb 2024
Category Front End Plugins
avatar richard67
richard67 - comment - 13 Feb 2024

@Hackwar Is there a reason why not fixing it for 4.4-dev?

avatar Hackwar
Hackwar - comment - 13 Feb 2024

Numerous of my PRs for 4.4 have been declared as new features even though they were bugfixes and rejected, so I stopped creating PRs for 4.4.

avatar richard67
richard67 - comment - 13 Feb 2024

@Hackwar New features go into 5.1-dev. Bug fixes for bugs which affect 4.4 and 5.x go into 4.4-dev. Into 5.0-dev only bug fixes go where the bug doesn’t affect 4.4.

avatar Hackwar
Hackwar - comment - 13 Feb 2024

I'm very well aware of that, but my time is not free and if I create bugfixes like #42693 and get told that this PHP error is not something which will be fixed in 4.4, then I'll stop creating fixes for 4.4. I don't have to waste my time and the time of other contributors by creating a PR for 4.4, organising people to test that PR, them investing the time to actually test, and then be told that an obvious bug is not a bug and that the PR is going to be rejected. So I'm skipping that whole part and create PRs against the next branch up.

avatar Globulopolis Globulopolis - test_item - 22 Feb 2024 - Tested successfully
avatar Globulopolis
Globulopolis - comment - 22 Feb 2024

I have tested this item ✅ successfully on fda45a7


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

avatar viocassel viocassel - test_item - 22 Feb 2024 - Tested successfully
avatar viocassel
viocassel - comment - 22 Feb 2024

I have tested this item ✅ successfully on fda45a7


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

avatar richard67
richard67 - comment - 22 Feb 2024

@Hackwar After our talk yesterday in the CMS Maintenance Team you said you will make this PR for 4.4-dev. Will you rebase this one, or will you make a new one? I'm asking because this one here has 2 good tests so it would be RTC (if not for the wrong branch).

avatar Hackwar Hackwar - change - 24 Feb 2024
Title
[5.0] Fixing non-SEF URL in feed output
[4.4] Fixing non-SEF URL in feed output
avatar Hackwar Hackwar - edited - 24 Feb 2024
avatar joomla-cms-bot joomla-cms-bot - change - 24 Feb 2024
Category Front End Plugins Unit Tests Repository Administration com_admin SQL
avatar Hackwar Hackwar - change - 24 Feb 2024
Labels Added: Unit/System Tests PBF bug PR-5.0-dev PR-4.4-dev
avatar joomla-cms-bot joomla-cms-bot - change - 24 Feb 2024
Category Unit Tests Repository Administration com_admin SQL Front End Plugins
avatar Hackwar
Hackwar - comment - 24 Feb 2024

I recreated the PR with 4.4-dev as base branch. The code is identical. Do we need new tests?

avatar richard67 richard67 - change - 24 Feb 2024
Labels Removed: Unit/System Tests
avatar richard67
richard67 - comment - 24 Feb 2024

@Globulopolis @viocassel Could you test this PR again on 4.4.x? Thanks in advance.

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

I have tested this item ✅ successfully on b3ef272

?


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

avatar den1ska07 den1ska07 - test_item - 24 Feb 2024 - Not tested
avatar den1ska07
den1ska07 - comment - 24 Feb 2024

I have not tested this item.


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

avatar den1ska07 den1ska07 - test_item - 24 Feb 2024 - Not tested
avatar den1ska07
den1ska07 - comment - 24 Feb 2024

I have not tested this item.


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

avatar richard67
richard67 - comment - 24 Feb 2024

I have not tested this item.

@den1ska07 If you submit a test result you have to select the right result before submitting.

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

I have tested this item ✅ successfully on b3ef272


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

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

I have tested this item ✅ successfully on b3ef272


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

avatar richard67 richard67 - change - 24 Feb 2024
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 24 Feb 2024

RTC


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

avatar laoneo laoneo - change - 4 Mar 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-03-04 15:58:27
Closed_By laoneo
Labels Added: RTC
Removed: PR-5.0-dev
avatar laoneo laoneo - close - 4 Mar 2024
avatar laoneo laoneo - merge - 4 Mar 2024
avatar laoneo
laoneo - comment - 4 Mar 2024

Thanks!

Add a Comment

Login with GitHub to post a comment