Install Joomla 4 in PHP 7.2
Login to admin console
Two messages
OR
One message at a time - not both trying to render and one trumping the other
Watch the video of me repeatedly hitting refresh in the browser - Note the flash of red on page load (that's the PHP version warning)
I have a very fast browser, but on slow computers/browsers this might be more of a render jump.
safari on macOS
An informational message should never delete a red warning/error message!
One I click [Never] send the stats the stats notice disappears (correctly) and no PHP version warning is visible.
only after a hard page refresh do I get the PHP version warning
Labels |
Added:
?
|
Hard to say, need to look,
<joomla-alert
is a custom element from joomla-projects/custom-elements
The message is a lang string PLG_QUICKICON_PHPVERSIONCHECK_UNSUPPORTED
from quickicon/phpversioncheck
plugin.
I suspect or message markup is broken, or something with script, or even styling.
It only Safari, or other browsers also?
All browsers here.
But, as i said, the issue is not special to the php version check. It is present in every manager when an action results in a message and the stats plugin is present.
My best guess is that the JS API in core.js is removing any messages enqueued by the PHP API (haven't looked at the code - just guessing from my phone)
yeah, well it stats-message.js
It remove all content, and insert own message,
On fast local server you even do not notice any blinking.
I will make PR, later.
Oh ffs. so we just need to move it to the Joomla.renderMessages function in core.js then
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-01-11 17:18:52 |
Closed_By | ⇒ | richard67 |
Confirmed. It can also be tested by keeping the stats plugin displaying
Joomla asking for permission to send statistics
and modifying any item status in a manager in order to get a message.We do not get the issue in J3