- Issue created by @mgaskey
- Merge request !49Issue #3498572: Add functionality to handle 404 errors. → (Merged) created by divyansh.gupta
- 🇮🇳India divyansh.gupta Jaipur
I have added custom functionality to handle the 404 pages.
Please review. - 🇮🇳India shivam_tiwari
I checked 49. Following steps are applied to check issue.
Created a custom 404 page and set it as a 404 destination page from configurations.
Checked by malformed URL, it is showing the desired page.
Installed quiz module.
But after this, not getting same page on the malformed URL, because of the issue as mentioned in description.
Applied MR as a patch and got correct specified 404 page.
Moving it to RTBC now. - Status changed to Needs work
3 months ago 9:24pm 19 March 2025 -
smustgrave →
committed c08e3f9e on 7.0.x authored by
divyansh.gupta →
Issue #3498572: Add functionality to handle 404 errors.
-
smustgrave →
committed c08e3f9e on 7.0.x authored by
divyansh.gupta →
- 🇺🇸United States smustgrave
Fixed the pipeline, added test coverage, and did a review.
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
12 days ago 10:52am 27 May 2025 - 🇫🇷France erwangel
The function
on404(ExceptionEvent $event)
states that it "Handles 404 errors specifically for quiz-related routes."
Or, no test is done on routes. In result dblogs are plenty of'Caught 404 exception.'
thrown by$this->getLogger('quiz_subscriber')->warning('Caught 404 exception.');
on every 404. Please see thefunction on403()
route tests and apply accordingly toon404()
.