Closed svituz closed 9 years ago
Create a message and try to assign a BaseDatatype object to a Field or a Component using traversal. For example use this code:
m = Message('RSP_K21') m.msh.msh_7.ts_1 = DTM(datetime.now())
A ChildNotValid exception is raised
ChildNotValid
It should assign the object correctly
How to reproduce
Create a message and try to assign a BaseDatatype object to a Field or a Component using traversal. For example use this code:
What happens
A
ChildNotValid
exception is raisedWhat should happen
It should assign the object correctly