import org.apache.commons.logging.LogFactory;\r
\r
import org.argeo.slc.core.structure.SimpleSElement;\r
+import org.argeo.slc.core.structure.StructureElement;\r
import org.argeo.slc.core.structure.StructureRegistry;\r
import org.argeo.slc.core.structure.tree.TreeSPath;\r
import org.argeo.slc.core.structure.tree.TreeSRegistry;\r
registry.register(path, new SimpleSElement(path.getName()));\r
}\r
treeSRegistryDao.update(registry);\r
+ } else {\r
+ if (localRegistry != null) {\r
+ StructureElement sElement = localRegistry.getElement(path);\r
+ if (sElement != null) {\r
+ registry.register(path, sElement);\r
+ treeSRegistryDao.update(registry);\r
+ }\r
+ }\r
}\r
\r
}\r