cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6515) provider sorting not right
Date Tue, 04 Aug 2015 13:33:04 GMT

    [ https://issues.apache.org/jira/browse/CXF-6515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14653638#comment-14653638
] 

Sergey Beryozkin commented on CXF-6515:
---------------------------------------

Note ProviderInfo has a 'custom' property now. If you'd like to have the custom providers
always being preferred just make sure that the 'custom' property serves as a primary key when
sorting the providers. And if you prefer a media type serving as a secondary key then indeed
you can do it too.

Before the update, the generic type was also checked first before media types for MBW, but
as I said, before CXF did not even consider the default providers if a custom provider was
available, and hence it just worked

> provider sorting not right
> --------------------------
>
>                 Key: CXF-6515
>                 URL: https://issues.apache.org/jira/browse/CXF-6515
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Romain Manni-Bucau
>             Fix For: 3.1.2
>
>
> Didnt dig too much into it but seems sorting with a custom comparator is not respected,
can be linked to 6514, if this 6514 is fixed I'll test again to confirm this one



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message