compliance-trestle icon indicating copy to clipboard operation
compliance-trestle copied to clipboard

Validate a field has at least 1 value assigned to it in governed header section

Open AleJo2995 opened this issue 1 year ago • 1 comments

Describe the bug

While performing trestle validations to a governed header instance against its template, there is a validation outperforming the actual expected result of at least having 1 value per field in the instance according to the template. Meaning that if there´s a field without any value on it, the validation is still passing and no errors are being thrown after alll.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

After performing a header validation against its template, Trestle should log an error for the fields that at least don´t have a value in it.

Screenshots / Logs.

If applicable, add screenshots to help explain your problem.

Environment

  • OS: [e.g. iOS]
  • Python version:
  • Installed packages:

AleJo2995 avatar Nov 10 '23 03:11 AleJo2995