[jboss-jira] [JBoss JIRA] (WFCORE-5083) ObjectTypeValidator should not accept invalid attribute
Chao Wang (Jira)
issues at jboss.org
Wed Aug 5 06:47:01 EDT 2020
[ https://issues.redhat.com/browse/WFCORE-5083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chao Wang updated WFCORE-5083:
------------------------------
Component/s: Management
> ObjectTypeValidator should not accept invalid attribute
> -------------------------------------------------------
>
> Key: WFCORE-5083
> URL: https://issues.redhat.com/browse/WFCORE-5083
> Project: WildFly Core
> Issue Type: Bug
> Components: Management
> Affects Versions: 13.0.0.Beta3
> Reporter: Chao Wang
> Assignee: Chao Wang
> Priority: Major
>
> Adding a global-module with an invalid attribute doesn't give an error.
> {code:xml}
> [standalone at embedded /] /subsystem=ee:list-add(name=global-modules, value={name=javax.api, test=abc})
> {"outcome" => "success"}
> [standalone at embedded /] /subsystem=ee:read-attribute(name=global-modules)
> {
> "outcome" => "success",
> "result" => [{
> "name" => "javax.api",
> "test" => "abc"
> }]
> }
> {code}
> {code:xml}
> [standalone at embedded /] /subsystem=ee:write-attribute(name=global-modules,value=[{name=javax.api, test=123}])
> {"outcome" => "success"}
> [standalone at embedded /] /subsystem=ee:read-attribute(name=global-modules)
> {
> "outcome" => "success",
> "result" => [{
> "name" => "javax.api",
> "test" => "123"
> }]
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list