Skip to content

add configurable validation check and warning message upon save #296

@ilovan

Description

@ilovan
  1. user hits "save and exit" or "save"
  2. "CWRC-Writer runs the validator service and if status=fail, a user gets a pop-up with "The document you want to save is not valid xml . " and two options: "Save as is" and "Fix validation first"
  3. If validation status =pass , user saves without any additional prompt.

From Luciano:

We could have a setting option like this validateBeforeSave: error | warning | none
If none save w/o validation. if warning prompt a message if invalidade and give the options to save anyway. if error prompt a message and prevent from saving. (edited)
Thus each instillation can have it its own way.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions