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

2017-12-01 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CAY-2384:
-

GitHub user emecas opened a pull request:

https://github.com/apache/cayenne/pull/250

CAY-2384  Modeler: Visualization issue after an undo action for a deleted 
ObjRelationship

Added method `focusObjEntity(ObjEntity objEntity)` in 
`RemoveRelationshipUndoableEdit` class, that is called during `undo()` action 
in order to fix CAY-2384

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/emecas/cayenne CAY-2384

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/250.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #250


commit 6c2d490de4920082774f01e076a63042d4292d88
Author: Emerson Castaneda 
Date:   2017-12-01T20:23:50Z

Added method focusObjEntity(ObjEntity objEntity) in 
RemoveRelationshipUndoableEdit to fix CAY-2384




> 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
>  Labels: pull-request-available
> 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 with 
> ObjRelationship and ObjAttribute in their list: ObjEntity1 and ObjEntity2  
> # go to ObjEntity1 and remove an ObjRelationship
> # switch to the ObjEntity2 to visualize its attribute(s) and relation(s)
> # go to main menu and select undo
> # the ObjAttribute list is now incorrect, the modeler only refresh the 
> ObjRelationship list. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[GitHub] cayenne pull request #250: CAY-2384 Modeler: Visualization issue after an un...

2017-12-01 Thread emecas
GitHub user emecas opened a pull request:

https://github.com/apache/cayenne/pull/250

CAY-2384  Modeler: Visualization issue after an undo action for a deleted 
ObjRelationship

Added method `focusObjEntity(ObjEntity objEntity)` in 
`RemoveRelationshipUndoableEdit` class, that is called during `undo()` action 
in order to fix CAY-2384

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/emecas/cayenne CAY-2384

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/250.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #250


commit 6c2d490de4920082774f01e076a63042d4292d88
Author: Emerson Castaneda 
Date:   2017-12-01T20:23:50Z

Added method focusObjEntity(ObjEntity objEntity) in 
RemoveRelationshipUndoableEdit to fix CAY-2384




---


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

2017-12-01 Thread Emerson Castaneda (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAY-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emerson Castaneda updated CAY-2384:
---
Description: 
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 with ObjRelationship 
and ObjAttribute in their list: ObjEntity1 and ObjEntity2  

# go to ObjEntity1 and remove an ObjRelationship
# switch to the ObjEntity2 to visualize its attribute(s) and relation(s)
# go to main menu and select undo
# the ObjAttribute list is now incorrect, the modeler only refresh the 
ObjRelationship list. 






  was:
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 with ObjRelationship 
and ObjAttribute in their list: ObjEntity1 and ObjEntity2  

# go to ObjEntity1 and remove an ObjRelationship
# switch to the ObjEntity2 to visualize its attibute(s) and realtion(s)
# go to main menu and select undo
# the ObjAttribute list is now incorrect, the modeler only refresh the 
ObjRelationship list. 







> 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
>  Labels: pull-request-available
> 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 with 
> ObjRelationship and ObjAttribute in their list: ObjEntity1 and ObjEntity2  
> # go to ObjEntity1 and remove an ObjRelationship
> # switch to the ObjEntity2 to visualize its attribute(s) and relation(s)
> # go to main menu and select undo
> # the ObjAttribute list is now incorrect, the modeler only refresh the 
> ObjRelationship list. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


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

2017-12-01 Thread Emerson Castaneda (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAY-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emerson Castaneda updated CAY-2384:
---
Description: 
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 ObjRelationship
# switch to ObjEntity2, properties Tab
# go to main menu and select undo
# the ObjAttribute is incorrect






  was:
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.





> 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
>  Labels: pull-request-available
> 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 ObjRelationship
> # switch to ObjEntity2, properties Tab
> # go to main menu and select undo
> # the ObjAttribute is incorrect



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


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

2017-12-01 Thread Emerson Castaneda (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAY-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emerson Castaneda updated CAY-2384:
---
Description: 
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 with ObjRelationship 
and ObjAttribute in their list: ObjEntity1 and ObjEntity2  

# go to ObjEntity1 and remove an ObjRelationship
# switch to the ObjEntity2 to visualize its attibute(s) and realtion(s)
# go to main menu and select undo
# the ObjAttribute list is now incorrect, the modeler only refresh the 
ObjRelationship list. 






  was:
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 ObjRelationship
# switch to ObjEntity2, properties Tab
# go to main menu and select undo
# the ObjAttribute is incorrect







> 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
>  Labels: pull-request-available
> 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 with 
> ObjRelationship and ObjAttribute in their list: ObjEntity1 and ObjEntity2  
> # go to ObjEntity1 and remove an ObjRelationship
> # switch to the ObjEntity2 to visualize its attibute(s) and realtion(s)
> # go to main menu and select undo
> # the ObjAttribute list is now incorrect, the modeler only refresh the 
> ObjRelationship list. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


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

2017-12-01 Thread Emerson Castaneda (JIRA)
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)


cayenne git commit: CAY-2379 Modeler: Visualization issue after an undo action for a deleted ObjAttribute

2017-12-01 Thread ntimofeev
Repository: cayenne
Updated Branches:
  refs/heads/STABLE-4.0 812375276 -> a34b9bb48


CAY-2379 Modeler: Visualization issue after an undo action for a deleted 
ObjAttribute


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/a34b9bb4
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/a34b9bb4
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/a34b9bb4

Branch: refs/heads/STABLE-4.0
Commit: a34b9bb482e1ee0dbea3ad34f71e6133bed00a6d
Parents: 8123752
Author: Nikita Timofeev 
Authored: Fri Dec 1 16:55:14 2017 +0300
Committer: Nikita Timofeev 
Committed: Fri Dec 1 16:55:14 2017 +0300

--
 docs/doc/src/main/resources/RELEASE-NOTES.txt|  1 +
 .../modeler/action/DbEntityCounterpartAction.java| 11 ++-
 .../modeler/undo/RemoveAttributeUndoableEdit.java|  7 +++
 3 files changed, 14 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cayenne/blob/a34b9bb4/docs/doc/src/main/resources/RELEASE-NOTES.txt
--
diff --git a/docs/doc/src/main/resources/RELEASE-NOTES.txt 
b/docs/doc/src/main/resources/RELEASE-NOTES.txt
index 7d5c475..e315ab9 100644
--- a/docs/doc/src/main/resources/RELEASE-NOTES.txt
+++ b/docs/doc/src/main/resources/RELEASE-NOTES.txt
@@ -20,6 +20,7 @@ CAY-2365 SQLExec query tries to convert (unexpected) result 
set into objects
 CAY-2367 ClassCastException reading object with an attribute of type 'char'
 CAY-2368 ColumnSelect: Property.self() translates into wrong SQL code
 CAY-2370 ValueObjectType for byte[] fails lookup
+CAY-2379 Modeler: Visualization issue after an undo action for a deleted 
ObjAttribute
 CAY-2382 Lack of synchronization in DataContext serialization
 
 --

http://git-wip-us.apache.org/repos/asf/cayenne/blob/a34b9bb4/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/DbEntityCounterpartAction.java
--
diff --git 
a/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/DbEntityCounterpartAction.java
 
b/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/DbEntityCounterpartAction.java
index f127133..35cf7f5 100644
--- 
a/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/DbEntityCounterpartAction.java
+++ 
b/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/DbEntityCounterpartAction.java
@@ -22,10 +22,8 @@ package org.apache.cayenne.modeler.action;
 import java.awt.event.ActionEvent;
 import java.util.Iterator;
 
-import javax.swing.tree.DefaultMutableTreeNode;
 import javax.swing.tree.TreePath;
 
-import org.apache.cayenne.configuration.ConfigurationNode;
 import org.apache.cayenne.configuration.DataChannelDescriptor;
 import org.apache.cayenne.map.DbEntity;
 import org.apache.cayenne.map.Entity;
@@ -74,7 +72,10 @@ public class DbEntityCounterpartAction extends CayenneAction 
{
 }
 
 ObjEntity entity = it.next();
-
+viewCounterpartEntity(entity);
+}
+
+public void viewCounterpartEntity(ObjEntity entity) {
 TreePath path = buildTreePath(entity);
 
editor().getProjectTreeView().getSelectionModel().setSelectionPath(path);
 
@@ -94,9 +95,9 @@ public class DbEntityCounterpartAction extends CayenneAction {
 }
 
 /**
- * Builds a tree path for a given path. Urgent for later selection.
+ * Builds a tree path for a given entity. Urgent for later selection.
  * 
- * @param path
+ * @param entity to build path for
  * @return tree path
  */
 public static TreePath buildTreePath(Entity entity) {

http://git-wip-us.apache.org/repos/asf/cayenne/blob/a34b9bb4/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/undo/RemoveAttributeUndoableEdit.java
--
diff --git 
a/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/undo/RemoveAttributeUndoableEdit.java
 
b/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/undo/RemoveAttributeUndoableEdit.java
index 52e5292..5db0c52 100644
--- 
a/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/undo/RemoveAttributeUndoableEdit.java
+++ 
b/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/undo/RemoveAttributeUndoableEdit.java
@@ -30,6 +30,7 @@ import org.apache.cayenne.map.EmbeddableAttribute;
 import org.apache.cayenne.map.ObjAttribute;
 import org.apache.cayenne.map.ObjEntity;
 import org.apache.cayenne.modeler.action.CreateAttributeAction;
+import org.apache.cayenne.modeler.action.DbEntityCounterpartAction;
 import 

Build failed in Jenkins: cayenne-master ยป hsql,JDK 1.8 (latest),ubuntu #757

2017-12-01 Thread Apache Jenkins Server
See 


Changes:

[stariy95] CAY-2379 Modeler: Visualization issue after an undo action for a 
deleted

--
[...truncated 9.40 MB...]
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cayenne-gradle-plugin 
---
[INFO] 
[INFO] --- maven-dependency-plugin:3.0.1:build-classpath (build-classpath) @ 
cayenne-gradle-plugin ---
[INFO] Wrote classpath file 
'
[INFO] 
[INFO] --- exec-maven-plugin:1.6.0:exec (gradle) @ cayenne-gradle-plugin ---
:clean
:compileJava
:licenseFiles
:pluginDescriptors
:versionFile
:processResources
:classes
:jar
:assemble
:pluginUnderTestMetadata
:compileTestJava
:processTestResources
:testClasses
:test

org.apache.cayenne.tools.DbImportIT > emptyDbTaskSuccess FAILED
org.gradle.testkit.runner.InvalidRunnerConfigurationException at 
DbImportIT.java:61

org.apache.cayenne.tools.DbImportIT > simpleDbTaskSuccess FAILED
org.gradle.testkit.runner.InvalidRunnerConfigurationException at 
DbImportIT.java:79

org.apache.cayenne.tools.DbImportIT > notConfiguredTaskFailure FAILED
org.gradle.testkit.runner.InvalidRunnerConfigurationException at 
DbImportIT.java:49

org.apache.cayenne.tools.GradlePluginIT > testGradleVersionsCompatibility FAILED
java.lang.AssertionError at GradlePluginIT.java:68

org.apache.cayenne.tools.DbGenerateTaskIT > defaultConfigTaskSuccess FAILED
org.gradle.testkit.runner.InvalidRunnerConfigurationException at 
DbGenerateTaskIT.java:65

org.apache.cayenne.tools.DbGenerateTaskIT > notConfiguredTaskFailure FAILED
org.gradle.testkit.runner.InvalidRunnerConfigurationException at 
DbGenerateTaskIT.java:43

org.apache.cayenne.tools.DbGenerateTaskIT > customConfigTaskSuccess FAILED
org.gradle.testkit.runner.InvalidRunnerConfigurationException at 
DbGenerateTaskIT.java:91

org.apache.cayenne.tools.CgenTaskIT > classGeneratingWithCustomConfigSuccess 
FAILED
org.gradle.testkit.runner.InvalidRunnerConfigurationException at 
CgenTaskIT.java:70

org.apache.cayenne.tools.CgenTaskIT > classGeneratingWithDefaultConfigSuccess 
FAILED
org.gradle.testkit.runner.InvalidRunnerConfigurationException at 
CgenTaskIT.java:48

28 tests completed, 9 failed
:test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: 
> file:///home/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/hsql/jdk/JDK%201.8%20(latest)/slave/ubuntu/cayenne-gradle-plugin/build/reports/tests/test/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output.

BUILD FAILED

Total time: 48.774 secs
[ERROR] Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit 
value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal 
(DefaultExecutor.java:404)
at org.apache.commons.exec.DefaultExecutor.execute 
(DefaultExecutor.java:166)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:751)
at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:313)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:62)
at 

[jira] [Commented] (CAY-2379) Modeler: Visualization issue after an undo action for a deleted ObjAttribute

2017-12-01 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CAY-2379:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/246


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


[GitHub] cayenne pull request #246: Fixed CAY-2379 by focusing the ObjEntity after th...

2017-12-01 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/246


---