[jboss-jira] [JBoss JIRA] (WFCORE-641) The discovery-option "module" attribute should support undefined values
Brian Stansberry (JIRA)
issues at jboss.org
Mon Apr 13 14:28:18 EDT 2015
Brian Stansberry created WFCORE-641:
---------------------------------------
Summary: The discovery-option "module" attribute should support undefined values
Key: WFCORE-641
URL: https://issues.jboss.org/browse/WFCORE-641
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 1.0.0.CR1
The xsd says the following for the discovery-optionType 'module' attribute:
{code}
<xs:attribute name="module" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The module from which the DiscoveryOption implementation should be loaded. If not provided,
the DiscoveryOption implementation must be available from the Host Controller's own module.
</xs:documentation>
</xs:annotation>
</xs:attribute>
{code}
But the MODULE attribute definition does not allow undefined.
But still, DiscoveryOptionAddHandler is coded as if undefined is allowed, but poorly so as it would pass an illegal null into ModuleIdentifier.fromString.
I like the behavior described in the xsd and think the AD and the handlers should be corrected.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list