from other's project (like ecms, etc...) perspective I think there could be issues.
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:
% ls -l
/production/mop:workspace/mop:portalsites/mop:classic/mop:rootnavigation/mop:children/mop:default/mop:children/mop:sitemap/mop:link
+-properties
| +-jcr:primaryType: mop:pagelink
| +-jcr:uuid: '4b86dd95c0a8008a2d41737a90e131be'
| +-mop:page:
/production/mop:workspace/mop:portalsites/mop:classic/mop:rootpage/mop:children/mop:pages/mop:children/mop:sitemap
+-children
+-/production/mop:workspace/mop:portalsites/mop:classic/mop:rootnavigation/mop:children/mop:default/mop:children/mop:sitemap/mop:link/mop:attributes
Julien Viet
julienviet.com
On Thursday, July 19, 2012 at 5:30 PM, Julien Viet wrote:
you cannot rename a site.
Julien Viet
julienviet.com (
http://julienviet.com)
On Thursday, July 19, 2012 at 4:45 PM, Christophe Laprun wrote:
> Hi all,
>
> In the process of working on the new Admin UI, I've ran into the following
issue: what happens if you want to rename a site more precisely what happens to the
navigations that point to elements in that particular site? It currently seems like the
only way to do it with the internal "API" is to remove and add a new site. So
I'm wondering how things are currently handled internally. I'm also wondering how
we should handle that situation with the public API as well. What should happen to the
navigations that point to elements of a site if it is deleted?
>
> The question of the handling of that situation for the default site is also
interesting. It seems to me that renaming it from the UI would probably break the portal.
Could someone with more knowledge of the portal internals shed some light on these issues,
please?
>
> Thanks in advance.
>
> Cordialement / Best,
> Chris
>
> ==
> Principal Software Engineer / JBoss Enterprise Middleware Red Hat, Inc.
> Follow GateIn:
http://blog.gatein.org /
http://twitter.com/gatein
> Follow me:
http://metacosm.info/metacosm /
http://twitter.com/metacosm
>
>
> _______________________________________________
> gatein-dev mailing list
> gatein-dev(a)lists.jboss.org (mailto:gatein-dev@lists.jboss.org)
>
https://lists.jboss.org/mailman/listinfo/gatein-dev
>
>
>