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

Jan Engehausen commented on CXF-5508:
-------------------------------------

Hello Sergey, sorry for responding so slowly. I have to check our code at work 
once more, at the moment it appears that our initial interpretation is wrong. 
http://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Request.html#evaluatePreconditions%28javax.ws.rs.core.EntityTag%29
 says that it returns non-null if the preconditions are not met. In our case we 
send a If-None-Match with the previously obtained ETag value and an 
If-Modified-Since with the previously obtained modification date. Reading your 
response and the JavaDoc I'd say the current behaviour is correct. But please 
let me check this with the our implementation - I'll update the issue once more 
tomorrow. 

Thank you for looking into this!

> 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