<div style="font-family: Helvetica; font-size: 13px; ">if you remove a site, you remove all the pages and navigations within this site.<div><br></div><div>for other projects, there is an event sent that will update the state based on this site, to remove the federated data.</div></div>
<div><div><br></div><div>Julien Viet</div><div>julienviet.com</div><div><br></div></div>
<p style="color: #A0A0A8;">On Thursday, July 19, 2012 at 6:49 PM, Christophe Laprun wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div><div><br></div><div>On 19 juil. 2012, at 17:45, Julien Viet wrote:</div><div><br></div><blockquote type="cite"><div><div>from other's project (like ecms, etc...) perspective I think there could be issues.</div><div><br></div><div>within gatein itself, I think one way to test it would be to do a jcr move operation (with crash) and see what happens. I think that some stuff would break because there are internal pointers between JCR nodes using PATH value: for instance a navigations points to a page and the link is the path of the page in the navigation, for instance:</div><div><br></div><div>% ls -l</div><div>/production/mop:workspace/mop:portalsites/mop:classic/mop:rootnavigation/mop:children/mop:default/mop:children/mop:sitemap/mop:link</div><div>+-properties</div><div>| +-jcr:primaryType: mop:pagelink</div><div>| +-jcr:uuid: '4b86dd95c0a8008a2d41737a90e131be'</div><div>| +-mop:page: /production/mop:workspace/mop:portalsites/mop:classic/mop:rootpage/mop:children/mop:pages/mop:children/mop:sitemap</div><div>+-children</div><div> +-/production/mop:workspace/mop:portalsites/mop:classic/mop:rootnavigation/mop:children/mop:default/mop:children/mop:sitemap/mop:link/mop:attributes</div></div></blockquote><div><br></div><div>So what happens if you remove a site?</div><div><br></div><div>Cordialement / Best,</div><div>Chris</div><div><br></div><div>==</div><div>Principal Software Engineer / JBoss Enterprise Middleware Red Hat, Inc.</div><div>Follow GateIn: <a href="http://blog.gatein.org">http://blog.gatein.org</a> / <a href="http://twitter.com/gatein">http://twitter.com/gatein</a></div><div>Follow me: <a href="http://metacosm.info/metacosm">http://metacosm.info/metacosm</a> / <a href="http://twitter.com/metacosm">http://twitter.com/metacosm</a></div></div></div></span>
</blockquote>
<div>
<br>
</div>