[jboss-jira] [JBoss JIRA] (WFCORE-1985) :read-resource-description operation should consistently order resources by alphabet
Ken Wills (JIRA)
issues at jboss.org
Mon Nov 14 19:54:00 EST 2016
[ https://issues.jboss.org/browse/WFCORE-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13322358#comment-13322358 ]
Ken Wills commented on WFCORE-1985:
-----------------------------------
This appears to be due to AttributeDefinition::NameAndGroup sorting by group name, then attribute using compareTo().
For the IIOP config in particular, there are several different groups returned, "as-context", "initializers", "tcp" etc.
I'm not 100% certain these groups are correct in this case (they look fine to me though.) Should these all be in the IIOP group or something like that, or do we need to think about how NameAndGroup orders?
> :read-resource-description operation should consistently order resources by alphabet
> ------------------------------------------------------------------------------------
>
> Key: WFCORE-1985
> URL: https://issues.jboss.org/browse/WFCORE-1985
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Michal Jurc
> Assignee: Ken Wills
>
> While {{:read-resource-description}} returns an ordered list of resources with their descriptions for most resources, some resources do not return result consistent with this (resources ordered by alphabet).
> Affected resources:
> * {{/subsystem=iiop-openjdk:read-resource-description()}} returns unordered list of resources and their descriptions, while {{/subsystem=iiop-openjdk:read-resource()}} returns ordered list
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list