You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The page /sitecore modules/web/EXM/Unsubscribe.aspx(link to unsubscribe in the email sent with the EXM) returns a 500 on a CD instance.
Steps to reproduce the behavior (environment must be set with CM and CD instances):
Install the module with all required config include files
Send an email from the EXM module
In the received email, click on the Unsubscribe link (brings you to the CD instance, o the page mentionned above)
See error
After some tracking, the dependency injections from Feature.FormExtensions.DependencyInjection.config(last 3 configurators of the config) are preventing the constructor of the page from loading its services.
This is where my digging went before I decided to remove the 3 configurators from Feature.FormExtensions.DependencyInjection.config and redo the SubscribeToList submit action in my project :
The object that could not be retrieved was part of the services in the file \App_Config\Sitecore\Marketing.Segmentation.xMgmt\Sitecore.Marketing.Segmentation.config so, I tried adding the ContentDelivery role to the role:require attribute of the file.
That resulted in having an error trying to load the Master database object.
After some decompilation, I found out that the "module_website" does not have a ContentDatabase configured and it would cause that error; I added the web DB to test it.
After that change, I was still getting error trying to load the master DB object. I traced it down to one of the service from the ListManagement dependencies that was trying to load the master DB(hardcoded db name).
The text was updated successfully, but these errors were encountered:
The page /sitecore modules/web/EXM/Unsubscribe.aspx(link to unsubscribe in the email sent with the EXM) returns a 500 on a CD instance.
Steps to reproduce the behavior (environment must be set with CM and CD instances):
After some tracking, the dependency injections from Feature.FormExtensions.DependencyInjection.config(last 3 configurators of the config) are preventing the constructor of the page from loading its services.
This is where my digging went before I decided to remove the 3 configurators from Feature.FormExtensions.DependencyInjection.config and redo the SubscribeToList submit action in my project :
The text was updated successfully, but these errors were encountered: