[jboss-jira] [JBoss JIRA] (AS7-6630) Unable to change attributes of Mail session through cli
Tomaz Cerar (JIRA)
jira-events at lists.jboss.org
Tue Feb 26 05:42:56 EST 2013
Tomaz Cerar created AS7-6630:
--------------------------------
Summary: Unable to change attributes of Mail session through cli
Key: AS7-6630
URL: https://issues.jboss.org/browse/AS7-6630
Project: Application Server 7
Issue Type: Bug
Components: Domain Management, Mail
Affects Versions: 7.2.0.Alpha1, 8.0.0.Alpha1
Reporter: Tomaz Cerar
Assignee: Tomaz Cerar
Fix For: 7.3.0.Alpha1, 8.0.0.Alpha1
Any attempt to change Mail session after it was created fails
Steps to Reproduce: In jboss-cli
1. Create new session
/subsystem=mail/mail-session=mysession/:add(jndi-name="java:/musession")
result:
{"outcome" => "success"}
2. Check created resource
/subsystem=mail/mail-session=mysession/:read-resource
result:
{
"outcome" => "success",
"result" => {
"custom" => undefined,
"debug" => false,
"from" => undefined,
"jndi-name" => "java:/mysession",
"server" => undefined
}
}
3. Try to change some attribute (e.g. jndi)
/subsystem=mail/mail-session=mysession/:write-attribute(name=jndi-name,value="java:/mailsession")
result:
{
"outcome" => "failed",
"failure-description" => "JBAS014749: Operation handler failed: null",
"rolled-back" => true
}
expected result:
{
"outcome" => "success",
"response-headers" => {
"operation-requires-reload" => true,
"process-state" => "reload-required"
}
}
Additional:
The debug attribute can be changed exactly once and only to true. Once it is turned on it cannot be changed again like the rest.
--
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