Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
We have a page for error settings. But the error pages are set on the system information page. This is non-intuitive.
Proposed resolution
We should move the error settings to the error settings page.
Remaining tasks
- Move the settings for Default 403 (access denied) page and Default 404 (not found) page to
admin/config/development/logging
User interface changes
Two form fields move from a strange place to a sensical place.
API changes
None.
Comments
Comment #1
jenlamptontagging.
Comment #2
VladSavitsky CreditAttribution: VladSavitsky commentedWe are working today with this issue during Code Sprint UA
Comment #3
VladSavitsky CreditAttribution: VladSavitsky commentedComment #4
VladSavitsky CreditAttribution: VladSavitsky commentedComment #5
VladSavitsky CreditAttribution: VladSavitsky commentedUpdated tests to reflect changes in code.
Comment #6
VladSavitsky CreditAttribution: VladSavitsky commentedThis patch fails tests and need some work.
Comment #8
VladSavitsky CreditAttribution: VladSavitsky commented@System Message, thank you that you spent your time for testing but I wrote above that this patch needs more work :)
Comment #9
VladSavitsky CreditAttribution: VladSavitsky commentedThis version changes all places where page.403 and page.404 were used and I'm sure will pass all tests because it passed tests at local machine.
Comment #10
VladSavitsky CreditAttribution: VladSavitsky commentedHere is a diff for latest patch against previous one.
Comment #11
VladSavitsky CreditAttribution: VladSavitsky commentedComment #13
VladSavitsky CreditAttribution: VladSavitsky commentedFixed tests which failed.
Comment #14
VladSavitsky CreditAttribution: VladSavitsky commentedComment #15
andypostAwesome!
Comment #16
alexpottHmmm... I'm not sure that we should be moving the keys to system.logging.yml ... I'm okay with them moving config page but moving config file not really...
But if you are moving them from system.site.yml to system.logging.yml you need to update the default files in the system/config and you need to update the schema in system/config/schema
Also...
We can now inject the url_generator service!