Mail description and resource disjunct
--------------------------------------
Key: AS7-2814
URL:
https://issues.jboss.org/browse/AS7-2814
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Reporter: Heiko Braun
Assignee: Brian Stansberry
Fix For: 7.1.0.CR1
According to the description the attribute "smtp-server" should be a String, but
it isn't.
{noformat}
[standalone@localhost:9999 /]
/subsystem=mail/mail-session=java\:jboss\/mail\/Default:read-resource-description
{
"outcome" => "success",
"result" => {
"description" => "Mail session configuration",
"head-comment-allowed" => true,
"tail-comment-allowed" => true,
"attributes" => {
"jndi-name" => {
"description" => "JNDI name to where mail session should
be bound",
"type" => STRING,
"required" => true,
"access-type" => "read-only",
"storage" => "configuration"
},
"debug" => {
"description" => "If this is true the
MailSessionConfiguration will be set to debug mode",
"type" => STRING,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
},
"smtp-server" => {
"description" => "The address of a SMTP Mail
Server",
"type" => STRING,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
},
"imap-server" => {
"description" => "The address of an IMAP Mail
Server",
"type" => STRING,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
},
"pop3-server" => {
"description" => "The address of a POP3 Mail
Server",
"type" => STRING,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
}
}
}
}
[standalone@localhost:9999 /]
/subsystem=mail/mail-session=java\:jboss\/mail\/Default:read-resource
{
"outcome" => "success",
"result" => {
"debug" => "false",
"jndi-name" => "java:jboss/mail/Default",
"smtp-server" => {"outbound-socket-binding-ref" =>
"mail-smtp"}
}
}
{noformat}
--
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