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.

Config validations should only be shown once

Priority

Affects versions

None

Fix versions

None

Sprint

Description

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.

Activity

Brandon Istenes 
January 16, 2024 at 2:36 PM

Grace Potma 
December 20, 2023 at 11:19 PM

This is an automated message: This issue has not been updated in over 1 year, and so has been labelled 'GraveyardCANDIDATE', and will be automatically closed in 1 month on January 24.
If you would like to keep this ticket open: Please simply remove 'GraveyardCANDIDATE' label. And, ideally, please also comment why this is still an issue you'd like to see addressed.
Thank you!!

Fixed

Details

Assignee

Reporter

Complexity

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