FYI: Heads up about HST content paths with 7.8

classic Classic list List threaded Threaded
1 message Options
Ard
Reply | Threaded
Open this post in threaded view
|

FYI: Heads up about HST content paths with 7.8

Ard
Niels found an issue in the selection plugin in the 7.8 regarding code
like this:

 HippoBean siteContentBaseBean = hippoBean;
 while (!siteContentBaseBean.getPath().endsWith("hst:content")  &&
(siteContentBaseBean.getParentBean() != null)) {
            siteContentBaseBean = siteContentBaseBean.getParentBean();
  }


With the 7.8, the HST does not access code via the 'hst:content'
facetselect any more! Thus, the getPath() of beans or jcr nodes do not
look something like

/hst:hst/hst:sites/myhippoproject/hst:content/common/homepage

any more, but instead

/content/documents/myhippoproject/common/homepage

The HST now filters based on using a different user for live and
preview instead of using the hst:content facetselect.

Also see the last part of my blog entry at [1]

Regards Ard

[1] http://www2.onehippo.com/en/blogs/2013/01/silence-of-the-lambs-with-7-8.html?backpage=en/blogs
_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html