NPM Resource Changed ? ? Failure

User tests: Successful: Unsuccessful:

avatar hans2103
hans2103
21 Oct 2020

Pull Request for Issue # .

Summary of Changes

This PR will remove the obsolete <div id="system-message"></div> from layout/joomla/system/message.php
This id was used in J3 plugin installer_webinstaller. It is not used in the J4 version anymore.
Therefor this element is obsolete and can be removed.
This PR will also remove the obsolete styling for this removed element.

Testing Instructions

  • Joomla 4
  • Find the login module in the sidebar, don't fill any fields and press the button login.
  • The page refreshes on /index.php/author-login with an alert

Empty password not allowed.

The HTML of this alert is:

<div id="system-message-container" aria-live="polite"><joomla-alert type="warning" dismiss="true" class="joomla-alert--show" role="alert"><button class="joomla-alert--close" aria-label="Close"><span aria-hidden="true">×</span></button><div class="alert-heading"><span class="warning"></span><span class="sr-only">Warning</span></div><div class="alert-wrapper"><div class="alert-message">Empty password not allowed.</div></div></joomla-alert></div>

Press the X to close the alert

Actual result BEFORE applying this Pull Request

You are able to close the alert.
The HTML of the closed alert is:

<div id="system-message-container" aria-live="polite"><div id="system-message"></div></div>

Expected result AFTER applying this Pull Request

You are able to close the alert.
The HTML of the closed alert is:

<div id="system-message-container" aria-live="polite"></div>

Without the obsolete div element you can properly use the css :empty trigger to remove a margin between succeeding elements. No JS needed.

Documentation Changes Required

avatar hans2103 hans2103 - open - 21 Oct 2020
avatar hans2103 hans2103 - change - 21 Oct 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Oct 2020
Category Repository NPM Change Layout Front End Templates (site)
avatar infograf768 infograf768 - test_item - 22 Oct 2020 - Tested successfully
avatar hans2103
hans2103 - comment - 22 Oct 2020

PR joomla/cassiopeia#194 is created to fix obsolete margin in Cassiopeia

avatar adj9 adj9 - test_item - 22 Oct 2020 - Tested successfully
avatar adj9
adj9 - comment - 22 Oct 2020

I have tested this item successfully on 891ac39

OK
Schermata 2020-10-22 alle 14 38 57


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31195.
avatar richard67 richard67 - change - 22 Oct 2020
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 22 Oct 2020

RTC


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

avatar chmst chmst - change - 22 Oct 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-10-22 14:02:54
Closed_By chmst
Labels Added: ?
avatar chmst chmst - close - 22 Oct 2020
avatar chmst chmst - merge - 22 Oct 2020
avatar chmst
chmst - comment - 22 Oct 2020

Thanks!

Add a Comment

Login with GitHub to post a comment