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

Sergey Beryozkin commented on CXF-5508:
---------------------------------------

I'm getting confused now. 
RequestImpl.evaluateIfNonMatch does return a non-null Response builder if the 
tags match. This is exactly correct as per the analysis above. So the JAX-RS 
code should get a non-null RB and return it.
Therefore the problem in your case appears to be to do with the fact that the 
entity tags *do not match* which can explain why a null response builder is 
returned but you said above the ETags do match.

What exactly happens in your case ?  

Thanks, Sergey

> Bug CXF-4231 is back since 2.7.6
> --------------------------------
>
>                 Key: CXF-5508
>                 URL: https://issues.apache.org/jira/browse/CXF-5508
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.7.6
>            Reporter: Jan Engehausen
>
> The problem I reported in https://issues.apache.org/jira/browse/CXF-4231 is 
> back since 2.7.6; we noticed when upgrading to 2.7.8. See also 
> https://fisheye6.atlassian.com/browse/cxf/branches/2.7.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/RequestImpl.java?r2=1503661&r=1494596
> The concrete change/problematic part: if (rb != null) { => if (rb == null) {
> Any chance for a fix in the next release?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to