[jboss-jira] [JBoss JIRA] (AS7-1960) Default values are returned for attributes on non-existing resources
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Tue Feb 21 09:47:37 EST 2012
[ https://issues.jboss.org/browse/AS7-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669565#comment-12669565 ]
Brian Stansberry commented on AS7-1960:
---------------------------------------
No, there is no such thing as a "default resource". Resources can have attributes with default values, but resources can only be created via an "add" operation or they are dynamically created by the server to expose some underlying runtime-only state (e.g. the /core-service=platform-mbean resources or child resources under deployment resource that expose the deployment's runtime state). Simply referencing a previously non-existent resource does not create that resource.
> Default values are returned for attributes on non-existing resources
> --------------------------------------------------------------------
>
> Key: AS7-1960
> URL: https://issues.jboss.org/browse/AS7-1960
> Project: Application Server 7
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 7.1.0.Alpha1
> Reporter: Brian Stansberry
> Fix For: 7.2.0.Alpha1
>
>
> Alexey Loubyansky reported:
> "I discovered that invoking read-attribute on an attribute that has a default value on a node that doesn't exist works well and returns the default value."
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list