Feature RTC PR-5.1-dev Pending

User tests: Successful: Unsuccessful:

avatar Razzo1987
Razzo1987
27 Jan 2024

Pull Request related to #42652 .
Read comment #42652 (comment)
Now whe are changing the semantic.

Summary of Changes

Add <main> on error.php template page.
Also when there is a module in the error-* position

Testing Instructions

Case 1: Go on page error and see the source
Case 2: Add module to error-403 or error-404 position. Go on page error and see the source

Actual result BEFORE applying this Pull Request

Case 1 and Case 2: There is no <main> element

Expected result AFTER applying this Pull Request

Case 1: Now the error message is inside the <main> element
Case 2: Now the module is inside the <main> element

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

Thanks to @brianteeman and @richard67 for the brainstorming ;)

avatar Razzo1987 Razzo1987 - open - 27 Jan 2024
avatar Razzo1987 Razzo1987 - change - 27 Jan 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Jan 2024
Category Front End Templates (site)
avatar brianteeman
brianteeman - comment - 27 Jan 2024

You should also add the main region for the regular use

avatar richard67
richard67 - comment - 27 Jan 2024

You should also add the main region for the regular use

@Razzo1987 Yes, Brian is right, it should also be added in the else branch like I wrote in my comment which you referred to:

I think the <main> should go to line 163 of the file changed by this PR, just after the <jdoc:include type="message" />, and it should be closed in line 177 (or 178 after adding the opening tag) just after the </blockquote> and before the </div>.

Here in 5.1-dev the line numbers stilll fit to my comment.

avatar Razzo1987 Razzo1987 - change - 27 Jan 2024
The description was changed
Title
[5.1] Add <main> on error page when there is a module
[5.1] Add on error page when there is a module
avatar Razzo1987 Razzo1987 - edited - 27 Jan 2024
avatar Razzo1987 Razzo1987 - change - 27 Jan 2024
Labels Added: Feature Updates Requested PR-5.1-dev
avatar Razzo1987
Razzo1987 - comment - 27 Jan 2024

Correct, thanks!

avatar richard67
richard67 - comment - 27 Jan 2024

@Razzo1987 Now it needs to adapt the testing instructions so that both cases are checked, with and without any module on an error-403 or error-404 position.

avatar Razzo1987 Razzo1987 - change - 27 Jan 2024
The description was changed
avatar Razzo1987 Razzo1987 - edited - 27 Jan 2024
avatar brianteeman brianteeman - test_item - 27 Jan 2024 - Tested successfully
avatar brianteeman
brianteeman - comment - 27 Jan 2024

I have tested this item ✅ successfully on c6d4534


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

avatar viocassel viocassel - test_item - 27 Jan 2024 - Tested successfully
avatar viocassel
viocassel - comment - 27 Jan 2024

I have tested this item ✅ successfully on c6d4534


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

avatar Quy Quy - change - 27 Jan 2024
Status Pending Ready to Commit
avatar Quy
Quy - comment - 27 Jan 2024

RTC


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

avatar Quy Quy - change - 27 Jan 2024
Status Ready to Commit Pending
avatar Quy Quy - change - 27 Jan 2024
Status Pending Ready to Commit
avatar Razzo1987 Razzo1987 - change - 27 Jan 2024
Title
[5.1] Add on error page when there is a module
[5.1] Add on error page
avatar Razzo1987 Razzo1987 - edited - 27 Jan 2024
avatar Razzo1987 Razzo1987 - change - 27 Jan 2024
Title
[5.1] Add on error page
[5.1] Add main region on error page
avatar Razzo1987 Razzo1987 - edited - 27 Jan 2024
avatar Quy Quy - change - 29 Jan 2024
Labels Added: RTC
Removed: Updates Requested
avatar LadySolveig LadySolveig - change - 1 Feb 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-02-01 18:53:58
Closed_By LadySolveig
avatar LadySolveig LadySolveig - close - 1 Feb 2024
avatar LadySolveig LadySolveig - merge - 1 Feb 2024
avatar LadySolveig
LadySolveig - comment - 1 Feb 2024

Thank you @Razzo1987 and also for testing to @brianteeman and @viocassel

Add a Comment

Login with GitHub to post a comment