data-to-insight / csc-validator-be-cin

1 stars 1 forks source link

bugfix 8868 #333

Closed WillLP-code closed 1 year ago

WillLP-code commented 1 year ago

fixed bug where children with no s47 module were wrongly flagged closes #320

Occurs when children don't have an S47 module. As per the ruleIf <CINclosureDate> (N00102) is present then all instances of the <Section47> group must... either indicating that you only need these fields IF there is an an S47 module, so the code should not include children with no S47. Fixed by making an inner merge. If this fixes the front end showing the wrong module's CINclosureDate, it's unintended but would be nice.