Page MenuHomePhabricator

Perform input validation based on ChangeOp (tracking)
Open, HighPublic

Description

Input validation should be performed by (or based on) ChangeOp objects. This way, soft constraints can be enforced when part of a change, while ignoring them when unrelated aspects of an entity are changed.

Also, by binding the validation to the ChangeOp, there is a central place to specify what kind of change should apply what kind of validation.

This means that the validation of labels and descriptions should be done in the relevant ChangeOp (see bug 49583). Similarly, snak validation should be moved to the respective ChangeOp.


Version: unspecified
Severity: normal
Whiteboard: u=dev c=story p=0 s=0

Details

Reference
bz62927

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:52 AM
bzimport set Reference to bz62927.
bzimport added a subscriber: Unknown Object (MLST).
daniel created this task.Mar 21 2014, 3:08 PM
Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 4 2015, 9:56 PM