Author: hoang_to
Date: 2011-09-21 12:57:54 -0400 (Wed, 21 Sep 2011)
New Revision: 7476
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java
Log:
GTNPORTAL-2074: Lose application when drag/drop during edit page or edit layout
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java
===================================================================
---
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java 2011-09-21
16:50:22 UTC (rev 7475)
+++
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java 2011-09-21
16:57:54 UTC (rev 7476)
@@ -698,6 +698,13 @@
// object
// will be processed
}
+ else if(hierarchyRelationships.containsKey(dstChildId))
+ {
+ // The dstChild is placed under transient Chromattic entity whose
storageId == null. However,
+ // the hierachyRelationships contains dstChildId in key set, so we have to
mark dstChild as
+ // moved object
+ modelObjectMap.put(dstChildId, null);
+ }
}
}
Show replies by date