compliance-trestle
compliance-trestle copied to clipboard
Validate a field has at least 1 value assigned to it in governed header section
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:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- 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: