Replies: 1 comment 2 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
in our understanding, all field assertions where bound to the field they are on, meaning that if a field is forbidden, the assertions should not be executed at all.
Before SDK Version 1.10.0, we found no issues with this interpretation. But since 1.10.0, there are assertions on forbidden fields, which needs to be executed to satisfy Schematron.
One example being
BT-543-Lot
:The field is forbidden in a lot of notice types, when one of
BT-541-Lot-WeightNumber
,BT-541-Lot-FixedNumber
orBT-541-Lot-ThresholdNumber
is present.But the assertion
BR-BT-00539-0200
ofBT-543-Lot
still needs to be executed, because they are validating the contents ofBT-541
.Not doing so results in a failed Schematron validation.
Is this a mistake in
BT-543-Lot
? If not, can you please clarify this inside the documentation. It is really confusing to first forbid a field and then still require the assertions inside this field to be executed.Beta Was this translation helpful? Give feedback.
All reactions