Page MenuHomePhabricator

Validate parameters in maps to ensure they're valid template data parameters.
Open, Needs TriagePublic

Description

If the parameters are invalid template data parameters (i.e. not defined as a param earlier in the template data), this thows a fatal error on saving the template data.

We should notify the user if there are any invalid parameters in the template data and tell them which parameter it is.

i.e.

Invalid parameter "cats" for property "maps.citoid.forumTitle".

An even nicer UI would be to highlight valid params in green and invalid params in red.

Event Timeline

Mvolz created this task.Aug 21 2020, 10:30 AM
Mvolz updated the task description. (Show Details)
Mvolz updated the task description. (Show Details)Aug 21 2020, 10:32 AM
Mvolz updated the task description. (Show Details)
Mvolz updated the task description. (Show Details)
Mvolz updated the task description. (Show Details)
Mvolz updated the task description. (Show Details)Aug 21 2020, 10:43 AM
Mvolz moved this task from Backlog to Next-up on the TemplateData board.Aug 21 2020, 11:03 AM
Mvolz updated the task description. (Show Details)Aug 24 2020, 10:14 AM

Removing the GSoC tag, since this is follow-up work.