Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AleJo2995 opened this issue Nov 10, 2023 · 0 comments

Comments

@AleJo2995
Copy link
Collaborator

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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant