eForms - store form data error

91 views
Skip to first unread message

Ashil Patel

unread,
Jan 28, 2015, 11:10:06 AM1/28/15
to hippo-c...@googlegroups.com
Hi

I'm trying to save form data into the repository but keep getting the following error every time I submit:

28.01.2015 15:39:28 WARN  http-bio-9080-exec-12 [HstComponentInvokerImpl.invokeAction:90] Component exception caught on window content with component com.onehippo.cms7.eforms.hst.components.FormStoringEformComponent: org.hippoecm.hst.core.component.HstComponentException: RepositoryException during storing form data:  at org.hippoecm.hst.component.support.forms.FormUtils.persistFormMap(FormUtils.java:229)
28.01.2015 15:39:28 WARN  http-bio-9080-exec-12 [AbstractBaseOrderableValve.handleComponentExceptions:303] Component exception(s) found in page request, '/site/_hn:action%7Cr17_r1_r1%7C/form/reusable-group.html'.
28.01.2015 15:39:28 WARN  http-bio-9080-exec-12 [DefaultPageErrorHandler.logWarningsForEachComponentExceptions:51] Component exception on com.onehippo.cms7.eforms.hst.components.FormStoringEformComponent : javax.jcr.AccessDeniedException: cannot read item cd098ecf-22a8-4a47-b345-e37db309e626

As far I can tell I've configured Enterprise Forms as per the installation instructions here so I'm not sure what is missing. I can see the 'formdata' folder in my console, but it doesn't contain the nodes from A-Z like the eforms-demo does if that helps in any way...

Thanks
Ashil

Niels van Kampenhout

unread,
Jan 28, 2015, 4:15:08 PM1/28/15
to hippo-c...@googlegroups.com
The message "javax.jcr.AccessDeniedException: cannot read item
cd098ecf-22a8-4a47-b345-e37db309e626" suggests that this is most
likely a permissions issue. The user (group) used to write the form
data to the repository (probably 'sitewriter') needs the have
sufficient read and write privileges on certain security domains. It
appears that this is not documented, sorry for that.

So first we need to figure out which privileges on which domains the
sitewriters group need to have. I'll look into this when I find some
time. In the meantime if anyone can look this up easily in their
project please chime in.

Once we figure that out I will update the documentation with that information.

Thanks for your feedback,
Niels

Ashil Patel

unread,
Jan 29, 2015, 9:34:21 AM1/29/15
to hippo-c...@googlegroups.com
Thanks Niels. I took a look at my permissions and formdata is not actually listed as one of the domains. Is this something that should have appeared automatically as part of the Enterprise Forms installation?

Thanks
Ashil


--
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 a topic in the Google Groups "Hippo Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hippo-community/HHcRAFrtxjA/unsubscribe.
To unsubscribe from this group and all its topics, 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

unread,
Feb 4, 2015, 6:37:46 AM2/4/15
to hippo-c...@googlegroups.com
Hi Ashil,

yes the formdata domain should have been bootstrapped once you installed the enterprise forms plugin.

You should be able to find it in the CMS console via: 


Jeroen

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.



--
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
Reply all
Reply to author
Forward
0 new messages