You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When the boolean for the enabled property is written in quotes, it is treated as a String by Spring and therefore can not be converted using the BooleanToExporterEnabledStateConverter
To Reproduce
Steps to reproduce the behavior:
Set an enabled property to "false"
Start any core test that loads properties
See error in logs
Expected behavior
Convert the value to equivalent ExporterEnabledState
Additional information (screenshots, stack traces, etc.)
Caused by: org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang.String] to type [rocks.inspectit.ocelot.config.model.exporters.ExporterEnabledState] for value 'false'; nested exception is java.lang.IllegalArgumentException: No enum constant rocks.inspectit.ocelot.config.model.exporters.ExporterEnabledState.false
The text was updated successfully, but these errors were encountered:
Describe the bug
When the boolean for the enabled property is written in quotes, it is treated as a String by Spring and therefore can not be converted using the BooleanToExporterEnabledStateConverter
To Reproduce
Steps to reproduce the behavior:
"false"
Expected behavior
Convert the value to equivalent ExporterEnabledState
Additional information (screenshots, stack traces, etc.)
Caused by: org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang.String] to type [rocks.inspectit.ocelot.config.model.exporters.ExporterEnabledState] for value 'false'; nested exception is java.lang.IllegalArgumentException: No enum constant rocks.inspectit.ocelot.config.model.exporters.ExporterEnabledState.false
The text was updated successfully, but these errors were encountered: