-
-
Notifications
You must be signed in to change notification settings - Fork 155
Closed
Labels
area/rbacRelated to Role Based Access Control featureRelated to Role Based Access Control featurearea/wizardUI configuration wizard issuesUI configuration wizard issuesgood first issueUp for grabsUp for grabsscope/backendRelated to backend changesRelated to backend changesstatus/triage/completedAutomatic triage completedAutomatic triage completedtype/bugSomething isn't workingSomething isn't working
Milestone
Description
java.lang.IllegalArgumentException: No enum constant com.provectus.kafka.ui.model.ActionDTO.view
at java.base/java.lang.Enum.valueOf(Enum.java:273)
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyExceptio**
TODO: Come up with a way to treat these enums with ignoring the case (view = VIEW)
Impl details:
A config like this:
- resource: clusterconfig
value: ".*"
actions: all
when accessed via wizard and mapped via PropertiesMapper
in ApplicationConfigController
fails with the aforementioned exception as it tried to map 1:1 without ignoring the case.
Also, it tried to map the "all" action as well which doesn't exist in the enum.
Metadata
Metadata
Assignees
Labels
area/rbacRelated to Role Based Access Control featureRelated to Role Based Access Control featurearea/wizardUI configuration wizard issuesUI configuration wizard issuesgood first issueUp for grabsUp for grabsscope/backendRelated to backend changesRelated to backend changesstatus/triage/completedAutomatic triage completedAutomatic triage completedtype/bugSomething isn't workingSomething isn't working
Projects
Status
Done