Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0B2710087 for ; Thu, 23 Jan 2014 16:58:44 +0000 (UTC) Received: (qmail 18823 invoked by uid 500); 23 Jan 2014 16:58:41 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 18729 invoked by uid 500); 23 Jan 2014 16:58:40 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 18698 invoked by uid 99); 23 Jan 2014 16:58:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jan 2014 16:58:39 +0000 Date: Thu, 23 Jan 2014 16:58:39 +0000 (UTC) From: "Jan Engehausen (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-5508) Bug CXF-4231 is back since 2.7.6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)