[jboss-jira] [JBoss JIRA] (AS7-6360) Mail subsystem transforms "tls" attribute by discarding it

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Jan 22 12:38:21 EST 2013


    [ https://issues.jboss.org/browse/AS7-6360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749537#comment-12749537 ] 

Brian Stansberry commented on AS7-6360:
---------------------------------------

We can't discard it; we should WARN on resource transform and fail on add/write-attribute. DiscardUndefinedAttributeTransformer has the proper semantics for this case.
                
> Mail subsystem transforms "tls" attribute by discarding it
> ----------------------------------------------------------
>
>                 Key: AS7-6360
>                 URL: https://issues.jboss.org/browse/AS7-6360
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management, Mail
>            Reporter: Brian Stansberry
>            Assignee: Tomaz Cerar
>             Fix For: 7.2.0.Alpha1
>
>
> The MailExtension registers a transformer that always discards the "tls" attribute. It should only discard if the value is consistent with the legacy slave's default behavior. Otherwise DiscardUndefinedAttribteTransformer should be used.
> Needs reject-expression transformation as well.

--
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