I am working on customizing drafts and submission component to save data in SQL Server. I followed the steps given in below community article and kept
FormsPortalSampleDataServiceImpl,FormsPortalSampleMetadataServiceImpl implementation in my project code base and updated Portal drafts and submissions services Osgi configuration to look up these implementation classes to when saving the form.
After configuring everything save event on my form is always throwing an error and and below is the part of stack trace I am seeing in error.log. The save event is not calling the implementation in my project code base and its always looking for remote server implementation class (DraftMetadataServiceRemoteImpl) . Customizing the storage is crucial feature in my project and any suggestions to fix this issue would be really helpful.
com.adobe.fd.fp.exception.FormsPortalException: ALC-FMP-001-037: Unable to get property attachmentList in draft with id JRLMCE2AXNMUSQOQSQBFI4MJ6A_af
at com.adobe.fd.fpaddon.service.impl.DraftMetadataServiceRemoteImpl.getProperty(DraftMetadataServiceRemoteImpl.java:223) [com.adobe.aem.formsportal-addon-bundle:8.0.54]
at com.adobe.fd.fp.servlets.FormsPortalDraftsandSubmissionServlet.saveDraft(FormsPortalDraftsandSubmissionServlet.java:415) [com.adobe.livecycle.formsportal-bundle:8.0.54]
at com.adobe.fd.fp.servlets.FormsPortalDraftsandSubmissionServlet.postRequestHandler(FormsPortalDraftsandSubmissionServlet.java:194) [com.adobe.livecycle.formsportal-bundle:8.0.54]
Caused by: java.lang.IllegalArgumentException: Username may not be null
at org.apache.commons.httpclient.UsernamePasswordCredentials.<init>(UsernamePasswordCredentials.java:90) [com.day.commons.osgi.wrapper.commons-httpclient:3.1.0.018]
at com.adobe.fd.fpaddon.util.FPRemoteOperations.getHttpClient(FPRemoteOperations.java:71) [com.adobe.aem.formsportal-addon-bundle:8.0.54]
at com.adobe.fd.fpaddon.util.FPRemoteOperations.getJsonString(FPRemoteOperations.java:174) [com.adobe.aem.formsportal-addon-bundle:8.0.54]
at com.adobe.fd.fpaddon.service.impl.DraftMetadataServiceRemoteImpl.getProperty(DraftMetadataServiceRemoteImpl.java:207) [com.adobe.aem.formsportal-addon-bundle:8.0.54]
... 140 common frames omitted
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
can you check your implementation vs the sample code published here https://docs.adobe.com/content/help/en/experience-manager-65/forms/publish-process-aem-forms/integra...
Or, you can use the source of the sample from https://docs.adobe.com/content/help/en/experience-manager-65/forms/publish-process-aem-forms/assets/... and override the existing implementation and see if that's working.
Views
Replies
Total Likes
can you check your implementation vs the sample code published here https://docs.adobe.com/content/help/en/experience-manager-65/forms/publish-process-aem-forms/integra...
Or, you can use the source of the sample from https://docs.adobe.com/content/help/en/experience-manager-65/forms/publish-process-aem-forms/assets/... and override the existing implementation and see if that's working.
Views
Replies
Total Likes