cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emerson Castaneda (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAY-2379) Modeler: Visualization issue after an undo action for a deleted ObjAttribute
Date Wed, 15 Nov 2017 21:37:00 GMT

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

Emerson Castaneda commented on CAY-2379:
----------------------------------------

I have updated the PR following [~ntimofeev]'s advise, for some reasons all checks (Jenkins
& travis-c )  have been failing randomly for reasons that are not related to the changes.

This is the definitive commit that is fixing this bug: https://github.com/apache/cayenne/pull/246/commits/5dff85f440530a80655b9111fde83ed53c79783d




> 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)

Mime
View raw message