[jboss-jira] [JBoss JIRA] (WFLY-3024) Remove OperationContext.readModelForUpdate() or fix impl to not create resources
Brian Stansberry (JIRA)
issues at jboss.org
Tue Feb 25 23:31:47 EST 2014
Brian Stansberry created WFLY-3024:
--------------------------------------
Summary: 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.CR1
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list