Mail subsystem resource attributes are all marked as read-only
--------------------------------------------------------------
Key: AS7-2716
URL:
https://issues.jboss.org/browse/AS7-2716
Project: Application Server 7
Issue Type: Bug
Environment: AS7 upstream
Reporter: jaikiran pai
The mail subsystem has all its model attributes marked as read-only:
{code}
[standalone@localhost:9999 /] /subsystem=mail:read-resource-description(recursive=true)
{
"outcome" => "success",
"result" => {
"description" => "The mail subsystem",
"head-comment-allowed" => true,
"tail-comment-allowed" => true,
"namespace" => "urn:jboss:domain:mail:1.0",
"children" => {"mail-session" => {
"description" => "Defines the mail sessions.",
"min-occurs" => 1,
"model-description" => {"*" => {
"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"
}
}
}}
}}
}
}
{code}
The resource definition needs to be implemented to provide write access to those
attributes.
--
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