[jboss-jira] [JBoss JIRA] (WFLY-35) Unable to change attributes of Mail session through cli
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Tue Jul 23 14:52:31 EDT 2013
[ https://issues.jboss.org/browse/WFLY-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792390#comment-12792390 ]
RH Bugzilla Integration commented on WFLY-35:
---------------------------------------------
mark yarborough <myarboro at redhat.com> changed the Status of [bug 910282|https://bugzilla.redhat.com/show_bug.cgi?id=910282] from VERIFIED to CLOSED
> Unable to change attributes of Mail session through cli
> -------------------------------------------------------
>
> Key: WFLY-35
> URL: https://issues.jboss.org/browse/WFLY-35
> Project: WildFly
> Issue Type: Bug
> Components: Domain Management, Mail
> Affects Versions: 8.0.0.Alpha1
> Reporter: Tomaz Cerar
> Assignee: Tomaz Cerar
> Fix For: 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