


Hi guys,
I am going over the following reference site for AEM Forms 6.2 OSGi:
https://helpx.adobe.com/aem-forms/6-2/geometrixx-gov-reference-site-walkthrough.html
I installed the AEM pre-requisites as stated here:
https://helpx.adobe.com/aem-forms/6-2/setup-reference-sites.html
I only set up AEM, AEM Forms, and the reference sites (finance and gov) as this is what I am need to learn at the moment.
While going through the guide when I get to the part where "Gloria receives the application" when I log in as Gloria and checkout the Application Dashboard it is empty.
I have made the geometrixx-gov-reviewer group part of the forms-submission-reviewers group, and I even went ahead and gave "grios" (Gloria's user) read permissions to the entire repository, and I still got an empty Application Dashboard. I am also seeing the following warnings and errors on the publish instance (even though the guide has you set up an author instance the guide tells you to perform these exercises on the publish instance):
22.11.2016 16:28:26.855 *WARN* [0:0:0:0:0:0:0:1 [1479803306854] GET /content/forms/portal/submission.review.json HTTP/1.1] com.adobe.fd.core.security.internal.CurrentUserServiceImpl Not able to find user for userId [grios]
22.11.2016 16:28:26.864 *ERROR* [0:0:0:0:0:0:0:1 [1479803306854] GET /content/forms/portal/submission.review.json HTTP/1.1] com.adobe.fd.fp.common.PortalUtilsComponent Error occured while verifying if user is authorized or not
java.lang.NullPointerException: null
I set up both replication and reverse replication to no avail. I googled these errors but I seem to be the first one to have found them.
This is supposed to be one of the out of the box examples that should just work by installing all the right packages.
Do you guys have any advice? Has anyone tried the guide and successfully done it before?
Thanks a bunch,
何塞。
Views
Replies
Sign in to like this content
Total Likes
Hi,
Primarily it seems a user group association issue. Please remove user for grios from geometrixx-gov-reviewer/geometrixx-finance-reviewer group and add it again to these groups. If problem is still not resolved, try similar things with geometrixx-gov-reviewer/geometrixx-finance-reviewer subgroup by removing and re-adding to forms-submission-reviewers group.
Thanks,
Pankaj Parashar
Views
Replies
Sign in to like this content
Total Likes
Hi guys,
Thank you Pankaj but that didn't do the trick for me.
I've been doing more research into the issue and found the following:
1) The Application Dashboard makes the following call:
http://localhost:4503/content/forms/portal/submission.review.json?func=getFormsForSubmissionReview
2) Which in turn calls this servlet:
com.adobe.fd.fp.servlets.FormsPortalSubmissionDashboardServlet
3) Which in turn generates the following query:
path=/content/forms/fp
type=nt:unstructured
0_property=formPath
1_property=nodeType
1_property.value=fp:submittedForm
Using the query editor http://localhost:4503/etc/acs-tools/query-editor.html logged in as "admin" this query returns the list of forms for review.
Since AEM uses Service Users now I went ahead and set up this node:
/apps/geometrixx-gov/config/org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-training
With these values:
4 | service.ranking | Long | 0 | false | false | false | false |
5 | user.mapping | String | com.adobe.fd.fp.service:SubmitMetadataService=training-user | false | false | false | false |
Needless to say I created a system user called training-user, added it to the administrators group, and I also created a new Apache Sling Service User Mapper OSGi config directly on the web console with the following values:
user.mapping com.adobe.granite.oauth.server=oauthservice
user.default training-user
After all these configs executing this:
http://localhost:4503/content/forms/portal/submission.review.json?func=getFormsForSubmissionReview
Still returns an empty list. Even if I log in as "admin" and execute it the result is the same.
Does anyone have any idea how to make this work?
Thanks a bunch,
何塞。
false | false | false | false |
Views
Replies
Sign in to like this content
Total Likes
Hi,
Hope you have submitted child support application successfully on publish instance. Please check if you have submissions under /content/forms/fp/<user>/submit folder on publish instance.
Thanks,
Pankaj Parashar
Views
Replies
Sign in to like this content
Total Likes
Yes, there are submissions under that path. That's why the query returns the list of forms in the query editor.
Views
Replies
Sign in to like this content
Total Likes