Getting an error in the documents when creating a custom group which has access to a specific blueprint

50 views
Skip to first unread message

daflou...@gmail.com

unread,
Oct 22, 2013, 6:14:15 AM10/22/13
to hippo-c...@googlegroups.com
Hello,

I have the below scenario:

I have set up blueprints and i also have set up some custom users and roles based on the below hippo document:
http://www.onehippo.org/7_8/library/concepts/security/set-permissions-on-folders.html

I have noticed that when i log in as an admin/author/editor all the documents have the English translation (screenshot1) and everything works fine, but when i log in as a user of the custom group,
the documents do not have the default English translation. (screenshot2)
As a result when i click on a document->the English button (screenshot3) i get the below error:

22.10.2013 04:09:48 ERROR [org.hippoecm.frontend.translation.workflow.TranslationWorkflowPlugin$TranslationAction.createRequestDialog():407] Error creating document translation dialog (Unable to find root folder for language en)
javax.jcr.RepositoryException: Unable to find root folder for language en
    at org.hippoecm.frontend.translation.workflow.TranslationWorkflowPlugin$TranslationAction.populateFolders(TranslationWorkflowPlugin.java:442)
    at org.hippoecm.frontend.translation.workflow.TranslationWorkflowPlugin$TranslationAction.createRequestDialog(TranslationWorkflowPlugin.java:384)
    at org.hippoecm.addon.workflow.StdWorkflow.invoke(StdWorkflow.java:185)
    at org.hippoecm.addon.workflow.ActionDescription.run(ActionDescription.java:84)
    at org.hippoecm.addon.workflow.MenuItem$1.onClick(MenuItem.java:40)
    at org.hippoecm.addon.workflow.MenuLink$1.onEvent(MenuLink.java:51)
    at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
    at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:312)
    at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157)
    at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
    at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:39)
    at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1279)
    at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358)
    at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1465)
    at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
    at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
    at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:724)

I don't know how to explain the case better! Do you have any idea, why is this happening?

Thanks,
Rania
screenshot1.png
screenshot2.png
screenshot3.png

Jeroen Reijn

unread,
Oct 22, 2013, 7:09:38 AM10/22/13
to hippo-c...@googlegroups.com
Hi,

since you've created your own domain or changed existing ones, it might be worth while to log into the repository interface or the CMS console with that specific user and see if the hippo:translation nodes are still visible to this user/group.

Jeroen


--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
Most Hippo developers are active here and/or follow the Stackoverflow [hippo-cms] tag.
 
The old Nabble archive can be found here: http://hippo.2275632.n2.nabble.com/Hippo-CMS-7-f2274273.html
 
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/groups/opt_out.



--
Jeroen Reijn
Solution Architect
Hippo

Amsterdam - Oosteinde 11, 1017 WT Amsterdam
Boston - 101 Main Street, Cambridge, MA 02142

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

http://about.me/jeroenreijn

daflou...@gmail.com

unread,
Oct 22, 2013, 12:11:08 PM10/22/13
to hippo-c...@googlegroups.com, daflou...@gmail.com
Hello Jeroen,

I have logged in the CMS console as the custom user and the nodes look exactly the same like they look when i log in as an admin. (screenshot4)
Although in the CMS the translation is still not showing up in the user, but in the admin does!
Do you have any idea?

Thanks,
Rania
screenshot4.png

Minos Chatzidakis

unread,
Oct 23, 2013, 5:31:33 AM10/23/13
to hippo-c...@googlegroups.com, daflou...@gmail.com
On Tue, Oct 22, 2013 at 6:11 PM, <daflou...@gmail.com> wrote:
Hello Jeroen,

I have logged in the CMS console as the custom user and the nodes look exactly the same like they look when i log in as an admin. (screenshot4)
Although in the CMS the translation is still not showing up in the user, but in the admin does!
Do you have any idea?

Perhaps some security domain denies access to translation nodes. Or perhaps it denies access to the plugin that is used to show them. This is a hard to pinpoint without more information.

Isn't possible that you can revert the domains, and then adding them one at a time, find the one that causes the problem?

Minos
--
 

--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
Most Hippo developers are active here and/or follow the Stackoverflow [hippo-cms] tag.
 
The old Nabble archive can be found here: http://hippo.2275632.n2.nabble.com/Hippo-CMS-7-f2274273.html
 
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/groups/opt_out.



--
With kind regards/Met vriendelijke groet,
Minos Chatzidakis

Vangelis Papathanasiou

unread,
Oct 23, 2013, 6:18:07 AM10/23/13
to hippo-c...@googlegroups.com, daflou...@gmail.com
Hello Minos,

We have just followed the documentation. We created users for specific folders processing. Which permission is responsible for translating documents? I found if I use hippodocuments domain it resolves the issue but every user has access in every document. We want to give specific access to each user.

Cheers,

Vangelis

daflou...@gmail.com

unread,
Oct 28, 2013, 8:34:59 AM10/28/13
to hippo-c...@googlegroups.com, daflou...@gmail.com
Hello again,

I have tried adding the permissions one by one and i have noticed that once you give the custom permissions which Hippo suggests (the 2 xml files), the translations are not available.
Can you please let us know which permission is responsible for the translations?

Regards,

Rania

Τη Τρίτη, 22 Οκτωβρίου 2013 1:14:15 μ.μ. UTC+3, ο χρήστης daflou...@gmail.com έγραψε:
Reply all
Reply to author
Forward
0 new messages