[jboss-jira] [JBoss JIRA] (WFLY-3024) Remove OperationContext.readModelForUpdate() or fix impl to not create resources

Brian Stansberry (JIRA) issues at jboss.org
Tue May 13 10:44:56 EDT 2014


     [ https://issues.jboss.org/browse/WFLY-3024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated WFLY-3024:
-----------------------------------

    Fix Version/s: 9.0.0.Alpha1
                       (was: 9.0.0.CR1)


> Remove OperationContext.readModelForUpdate() or fix impl to not create resources
> --------------------------------------------------------------------------------
>
>                 Key: WFLY-3024
>                 URL: https://issues.jboss.org/browse/WFLY-3024
>             Project: WildFly
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Domain Management
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>             Fix For: 9.0.0.Alpha1
>
>
> OperationContextImpl.readModelForUpdate() creates the target resource if it is not found. That's not good; createResource or addResource are for that and readResourceForUpdate does not do this.
> No code in WF itself actually calls this method.
> Either:
> 1) Remove the method (it's been deprecated since June 2011)
> 2) Change the impl to a simple readResourceForUpdate(address).getModel()



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jboss-jira mailing list