Page MenuHomePhabricator

Community configuration: When the Editor form receives invalid configuration, it should make it clear where the problem is
Open, HighPublic3 Estimated Story Points


For a full description of the issue, see T360366: Community configuration: Allow administrators to resolve issues with invalid configuration within the Editor form. This task covers a partial solution to the problem. Within this task, we should replace the current message that displays when the Editor receives an invalid configuration:

image.png (560×2 px, 56 KB)

with an error message that makes it clear where the issue is by:

  • stating where the invalid data is coming from (a wiki page, something else, ...)
  • stating what the validation error is ("Key XYZ is expected to be a number, but it is a boolean instead")

We do not need to provide the administrator with an easy way to fix the invalid config (this is in scope of the parent task).

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
KStoller-WMF set the point value for this task to 3.Mar 19 2024, 2:19 PM

Change #1014037 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/CommunityConfiguration@master] Display meaningful error message when config fails to load

Change #1014037 merged by jenkins-bot:

[mediawiki/extensions/CommunityConfiguration@master] Display meaningful error message when config fails to load