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 D7A78200D3E for ; Thu, 16 Nov 2017 12:24:08 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D64D5160BF4; Thu, 16 Nov 2017 11:24:08 +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 30CBD160BE6 for ; Thu, 16 Nov 2017 12:24:08 +0100 (CET) Received: (qmail 4029 invoked by uid 500); 16 Nov 2017 11:24:07 -0000 Mailing-List: contact commits-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list commits@cayenne.apache.org Received: (qmail 4011 invoked by uid 99); 16 Nov 2017 11:24:07 -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, 16 Nov 2017 11:24:07 +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 457421A0629 for ; Thu, 16 Nov 2017 11:24:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id bM-1dQS6nl_0 for ; Thu, 16 Nov 2017 11:24:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 2E09A5FDCE for ; Thu, 16 Nov 2017 11:24:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C3F99E2586 for ; Thu, 16 Nov 2017 11:24:03 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id DEA24240F6 for ; Thu, 16 Nov 2017 11:24:00 +0000 (UTC) Date: Thu, 16 Nov 2017 11:24:00 +0000 (UTC) From: "Nikita Timofeev (JIRA)" To: commits@cayenne.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAY-2379) Modeler: Visualization issue after an undo action for a deleted ObjAttribute MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 16 Nov 2017 11:24:09 -0000 [ https://issues.apache.org/jira/browse/CAY-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16255149#comment-16255149 ] Nikita Timofeev commented on CAY-2379: -------------------------------------- Thanks again, great job! Hope I'll be able to apply your PR shortly. As for build failures, they are indeed not related to your changes, so just ignore them :) > Modeler: Visualization issue after an undo action for a deleted ObjAttribute > ----------------------------------------------------------------------------- > > Key: CAY-2379 > URL: https://issues.apache.org/jira/browse/CAY-2379 > Project: Cayenne > Issue Type: Bug > Components: Modeler > Affects Versions: 4.1.M1 > Reporter: Emerson Castaneda > Assignee: Nikita Timofeev > Priority: Minor > Labels: pull-request-available > Fix For: 4.1.M2 > > Attachments: CAY-2379.pdf > > > The modeler misbehaves during an undo action, it's only regarding to visualization subject. > How to reproduce: > Precondition: In a project with at least 2 Object Entities: ObjEntity1 and ObjEntity2 > # go to ObjEntity1 and remove an ObjAttribute > # switch to ObjEntity2, properties Tab > # go to main menu and select undo > # the ObjAttributed removed from ObjEntity1 is now in the attributes list of ObjEntity2 > I have figured out while working in complex project during the undo action, when suddenly a Object Entity lost multiple attributes (about 5) after the undo action, so I close the project, just in case, without save and then open it again to avoid make the change permanent. > Trying to reproduce the issue, looks like this is only related to visualization and get solved by switching to a different object, even saving the change the original attribute is back to the right entity, but the visualization is not consistent right after the undo action. -- This message was sent by Atlassian JIRA (v6.4.14#64029)