User tests: Successful: Unsuccessful:
This is a re-do of #42437 for 4.4 instead of 5.x, since this is actually a bug and not a change request anymore.
When typing very fast into the search box and hitting enter, the browser has fired an AJAX call for every character typed and the server might not have responded. When hitting enter, the form is send and all AJAX requests are aborted. This lets the JS code return and run into the failure condition, resulting in a flash of error messages being displayed. While it is nice to know that something failed for a developer, this should not be displayed to the general enduser. The JS code right now can spam the screen with system messages for these failed calls, especially since a call is triggered for each character entered into the search box. This PR removes this error handling.
/components/com_finder/src/Controller/SuggestionsController.php
and insertecho '1';
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
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript Repository NPM Change |
I have tested this item ✅ successfully on c9ba1ca
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
NPM Resource Changed
PR-4.4-dev
|
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-12-11 13:52:51 |
Closed_By | ⇒ | laoneo | |
Labels |
Added:
RTC
|
I have tested this item ✅ successfully on c9ba1ca
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42490.