You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Emerson Castaneda (JIRA)" <ji...@apache.org> on 2017/12/01 19:26:00 UTC

[jira] [Created] (CAY-2384) Modeler: Visualization issue after an undo action for a deleted ObjRelationship

Emerson Castaneda created CAY-2384:
--------------------------------------

             Summary: Modeler: Visualization issue after an undo action for a deleted ObjRelationship
                 Key: CAY-2384
                 URL: https://issues.apache.org/jira/browse/CAY-2384
             Project: Cayenne
          Issue Type: Bug
          Components: Modeler
    Affects Versions: 4.1.M1
            Reporter: Emerson Castaneda
            Assignee: Nikita Timofeev
            Priority: Minor
             Fix For: 4.1.M2


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)