[jboss-jira] [JBoss JIRA] (WFCORE-635) Require placeholder resources for non-proxy runtime resources
Brian Stansberry (JIRA)
issues at jboss.org
Thu Apr 9 18:09:18 EDT 2015
Brian Stansberry created WFCORE-635:
---------------------------------------
Summary: Require placeholder resources for non-proxy runtime resources
Key: WFCORE-635
URL: https://issues.jboss.org/browse/WFCORE-635
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 1.0.0.CR1
ReadResourceHandler has a nullSafeReadResource method that returns a PlaceholderResource for any address whose MRR says it's runtime:
https://github.com/wildfly/wildfly-core/blob/master/controller/src/main/java/org/jboss/as/controller/operations/global/ReadResourceHandler.java#L435
That basically allows devs to not bother creating runtime resources, but breaks things where there's an assumption that no resource object will be present when no actual resource exists. See discussion at https://github.com/wildfly/wildfly/pull/6607
This JIRA is to get rid of that behavior, restricting it to, at most, proxy resource cases.
See also WFCORE-580 which is a similar problem.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list