EssentialsContentComponent with hst:subjectbasedsession = true load HippoBean with hippostd:state = draft

40 views
Skip to first unread message

mahip...@gmail.com

unread,
Mar 4, 2015, 10:51:09 AM3/4/15
to hippo-c...@googlegroups.com
Hi,

we are using Hippo Release Version 7.9.6.

we enable "hst:subjectbasedsession = true" in the hst:hst configuration:
> /hst:hst/hst:hosts/dev-localhost/localhost/hst:root

We load a document with the "EssentialsContentComponent", unfortunately we get
documents with hippostd:state 'draft' instead of 'published'.
Is this the default behavior (with hst:subjectbasedsession = true)? And if so,
have anybody a hint for me to write my own component to load only documents with
hippostd:state 'published'?

Thanks for the help

Regards,
Markus

Jeroen Reijn

unread,
Mar 4, 2015, 11:23:15 AM3/4/15
to hippo-c...@googlegroups.com
If that's the case it seems like a bug to me, but not in Essentials. In your case you should either get the unpublished or published variant of the document.

AFAIK this can only occur if something has changed in the existing security domains. Normally you should only get unpublished (in case you are in the channel manager editing content) or the published version if you are on the live site.

What is it you are actually doing in case you get the document in the incorrect state? Actions in the channel manager?


--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)

To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at http://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.



--
Jeroen Reijn
Hippo

Amsterdam office - Oosteinde 11, 1017 WT Amsterdam
Boston office - 745 Atlantic Ave, Eight Floor, Boston MA 02111, United states of America.

US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466
www.onehippo.com

http://blog.jeroenreijn.com | @jreijn | http://about.me/jeroenreijn

mahip...@gmail.com

unread,
Mar 4, 2015, 3:18:56 PM3/4/15
to hippo-c...@googlegroups.com
Hi Jeroen,

thank you for your fast response.

> What is it you are actually doing in case you get the document in the
> incorrect state? Actions in the channel manager?

No, it occurs on the live site.

> Jeroen Reijn <j.r...@onehippo.com> hat am 4. März 2015 um 17:23 geschrieben:
> http://blog.jeroenreijn.com | @jreijn <https://twitter.com/jreijn> |
> http://about.me/jeroenreijn
Reply all
Reply to author
Forward
0 new messages