Bug 508251 - Enable live-validation of VSMs, or at least when saving them
Summary: Enable live-validation of VSMs, or at least when saving them
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 4.1.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-11-27 12:17 EST by Pierre-Charles David CLA
Modified: 2016-12-22 09:55 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Charles David CLA 2016-11-27 12:17:46 EST
We still have too many false negatives in validation errors to enable this, but when we get to a point where we're confident that most are fixed, we should consider enabling live validation in the VSM editor, and/or validation on save.

Instead of an all or nothing approach, maybe we could identify different subsets of validation rules, and enable them at different points:
1. Ones which are fast to execute and have a null/low rate of false negatives could be executed live during edition.
2. Slower to execute but still with low rate of false negatives could be executed on saving, with a warning for saving an invalid VSM.
3. The rest would be executed only in case of on-demand validation from the specifier.

In terms of ergonomics, points 1 and 2 are only reasonable if the rate of false negatives are really low, and if the resulting validation warnings/errors do not interfere with the workflow (e.g. we don't want a popup to appear on *every* save, just because Sirius can not validate some part of the VSM that the specifier knows will work, or doesn't care for now).