Open SchelstraeteRuben opened 3 years ago
Please see #120 . You didnt mention what version you are on but latest has that config enabled on CD.
I'd like to watch this thread since I'm having kind of the same issue. I created a form with only 3 fields (name, last name, and email), added the "Subscript to List" action, and when the form is submitted, the contact is not properly saved in the Contact List:
Sitecore 10.1 - standard (no CM/CD) SFE 4.0.2
Hi,
We noticed that the Subscribe to list action doesn't work every time. It seems that it doesn't work on CD and I believe I found why. This might be high priority as it renders one of the key features unusable.
The following error is thrown upon form submission:
It looks like the nullref exception is thrown in Feature.FormsExtensions.SubmitActions.SubscribeToList, line 56 (SubscriptionService.Subscribe().
There is a Sitecore.ListManagement.Services.config file which inserts a CustomServiceConfigurator:
This CustomServiceConfigurator is responsible for registering the SubscriptionService. But as you can see this config is only inserted on Standalone & ContentManagement roles, and not on ContentDelivery roles. This causes the nullreference when trying to use the Subscribe To List Action on CD.
Possible fixes:
Afaik this is applicable for all supported Sitecore versions, so all packages might need to be updated.