[jboss-jira] [JBoss JIRA] (WFCORE-1834) Unexpected attribute error message doesn't list 'name' attribute.

Tomaz Cerar (JIRA) issues at jboss.org
Wed Sep 28 11:00:02 EDT 2016


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

Tomaz Cerar commented on WFCORE-1834:
-------------------------------------

Name isn't technically an attribute, but name/anchor for resource.

But yes we should report that in error messages.

> Unexpected attribute error message doesn't list 'name' attribute.
> -----------------------------------------------------------------
>
>                 Key: WFCORE-1834
>                 URL: https://issues.jboss.org/browse/WFCORE-1834
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Darran Lofthouse
>            Assignee: Tomaz Cerar
>             Fix For: 3.0.0.Alpha9
>
>
> I have recently updated one of our resource definitions and missed updating one of the subsystem templates so currently have the following error reported: -
> {noformat}
> Message: WFLYCTL0376: Unexpected attribute 'security-domain' encountered. Valid attributes are: 'http-authentication-factory, override-deployment-config'
> [Host Controller] 	at org.jboss.as.controller.parsing.ParseUtils.unexpectedAttribute(ParseUtils.java:128)
> {noformat}
> Previously my resource has been using the 'security-domain' attribute for it's name but now has been reverted to using 'name' for the name - in the above error message 'name' should have been listed as one of the valid attributes.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list