Fixed
Details
Details
Assignee
Brandon Istenes
Brandon IstenesReporter
Brandon Istenes
Brandon IstenesComplexity
Low
Goals
None
Components
Created July 19, 2022 at 5:54 AM
Updated January 18, 2024 at 11:13 AM
Resolved January 18, 2024 at 11:13 AM
Welcome to our new JIRA instance! We migrated all OpenMRS ID accounts and issues to this new cloud instance. Please use your_openmrsid@id.openmrs.org as your e-mail to sign in.
Right now, since the validator runs any time
Config changes
A slot is registered
An extension is registered
The same validations are logged to the console every time one of those events happens. This can fill up the console quickly if there are a lot of problems.
Each validation should only be shown once.
Implementation
I recommend creating a Set of validation messages. Before logging each one, check if it is in the set. If it is not, log it and add it to the set.