Project

General

Profile

Bug #22491

Need to sanity check options for valid %(something)s type format strings

Added by Marc Mengel 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
05/01/2019
Due date:
% Done:

100%

Estimated time:
First Occurred:
Scope:
Internal
Experiment:
-
Stakeholders:
Duration:

Description

(this from Tingjun's experience trying out Analysis launches)

If someone has an invalid format string, we currently don't notice it until they try to launch a job,
which leads to an at best cryptic error message with no hint where to fix it.

We should check for these in the GUI editor(s) when they modify fields, especially options.

History

#1 Updated by Marc Mengel 6 months ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

Added a checker in the javascript code: json_field_editor.validate_percent_formats(form_id)

ffaf9a79
3db7d020

Also fixed up formatting of popup editor a little.

#2 Updated by Marc Mengel 6 months ago

  • Priority changed from Normal to High


Also available in: Atom PDF