Parent obs (with datatype as text) contains groupmembers.
Obs1 (DT: Text)
- Obs2 (obs1 is the parent)
When we try to void the entire tree by setting voided flag as true and call saveObs(), the validation fails while saving parent obs with the reason ''Obs #1 failed to validate with reason: error.noValue, valueText: error.null ".
The reason being, obs2 is already voided and saved, and while saving obs1, since it has non-voided groupmembers, it expects valuetext to be not null in parent obs.