Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8D0EF200CC4 for ; Thu, 13 Jul 2017 19:43:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8C07A16C738; Thu, 13 Jul 2017 17:43:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D1CCF16C732 for ; Thu, 13 Jul 2017 19:43:12 +0200 (CEST) Received: (qmail 67238 invoked by uid 500); 13 Jul 2017 17:43:12 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 67216 invoked by uid 99); 13 Jul 2017 17:43:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2017 17:43:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id CDFD11A046C for ; Thu, 13 Jul 2017 17:43:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id K_5IZRHyKQ7F for ; Thu, 13 Jul 2017 17:43:09 +0000 (UTC) Received: from mail-vk0-f42.google.com (mail-vk0-f42.google.com [209.85.213.42]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 5B1425FDAD for ; Thu, 13 Jul 2017 17:43:08 +0000 (UTC) Received: by mail-vk0-f42.google.com with SMTP id r125so34230517vkf.1 for ; Thu, 13 Jul 2017 10:43:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=a/N3C45OUojm0E5nGgLPyr4yFZem1DNWu+kQXWhxNl4=; b=pvw80CVg8ogt7HyiE/AdwVKnZcrv55hBrCLT8L2bbgeGZnxRP3p+Q67r0iAwXMimFg 9w9VSh0zaRHSVuWufGlJECfHUC1puvxwTQ6B8X2mnJ7eFHgSVPv7UCs5fhlfPh6HM8qq qrgJT08S/rAOI2Zb0hfxQ3EF5sLJ9IVN7k4JJzZLy+HfRZh65xys39twkrPRAjkkWa/p mHIPpgjfu1gGVUlIx6ViGkyuWmqHpMh68yMIdikGC7MxqTvMfpjW2Gf9gPrUfLC4T02M H8wHOaS6we4GM6MdKaLE4yKbuaUaMCVglJ/hnCCBLPzPj9yBSOu4vHwPna8CZcKLPuZq qYhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=a/N3C45OUojm0E5nGgLPyr4yFZem1DNWu+kQXWhxNl4=; b=OS+ciBzF5QaT9gqsa5WGANiI4HJDOs3WORr9kM4vE80NV+FGzxsvHFd7cGscp6iEmd l0fMgTy0IfPB1cP4y4CMSIzCJ9zP2rQBaUTDYJLTGexed5ewFTl7evl9N75HjjMzjr53 QGzuzxoYHfOfiFxjC2YeWWST4LkNHVtjKoTeMUPWxw/OtWGnTgpwl/rD7wKitqm3jEKT NBhG4ncx9VrnTXfJ43tOo6fZFbmG88aB9dI3GFpE3rxF0bBEILBkiLUgXiZMwcTCF+tQ GMOMX9rejyiIO2uqE2y4nJZEFh53lMXZuzhwpfFA1FFpLvg6JIE/vgRpFW1m4aB0i7g4 p47A== X-Gm-Message-State: AIVw110WPnpVtmlQf9k7tkTMHFlLEf+U6Q8s6wTXj5247rbxmPBuGjJ/ mX8WLjCXu3s1v3nu7t/6ItD+/lLwHT1c X-Received: by 10.31.87.132 with SMTP id l126mr2465352vkb.81.1499967786815; Thu, 13 Jul 2017 10:43:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.117.83 with HTTP; Thu, 13 Jul 2017 10:43:06 -0700 (PDT) From: Lon Varscsak Date: Thu, 13 Jul 2017 10:43:06 -0700 Message-ID: Subject: Need a push in the right direction (parent-child object context and disappearing relationship) To: Apache Cayenne Content-Type: multipart/alternative; boundary="001a114e59f41b9712055436774c" archived-at: Thu, 13 Jul 2017 17:43:13 -0000 --001a114e59f41b9712055436774c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have an object (that=E2=80=99s new) in ObjectContextA that has a relation= ship to another new object (same OC) which also has a reverse relationship. I then create a child of that OC (ObjectContactB) and grab a local version of the first object. At that time, the relationship object (and it=E2=80=99s reve= rse) is there and all is good in the world. The moment I touch the object (setting a simple property with writeProperty) in the relationship the reverse relationship gets nulled out. Any thoughts as to why this might happen? -Lon --001a114e59f41b9712055436774c--