I am going over the following reference site for AEM Forms 6.2 OSGi:
I installed the AEM pre-requisites as stated here:
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  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  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
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,
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.
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:
2) Which in turn calls this servlet:
3) Which in turn generates the following query:
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:
With these values:
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:
After all these configs executing this:
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,
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.