Hi there,
When a newsletter subscriber tries to unsubscribe, we get the following error:
System.Exception: Username must have a nonempty value
Generated: Fri, 28 Aug 2015 02:32:19 GMT
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web. HttpUnhandledException' was thrown. ---> System.Exception: Username must have a nonempty value at Dynamicweb.Modules. UserManagement.User.Save() at Dynamicweb.Modules. EmailMarketing. RecipientProviders. AccessUserRecipientProvider. UnsubscribeRecipient(Recipient recipient) at Dynamicweb.Admin.Unsubscribe. OnUnsubscribeRecipient() at Dynamicweb.Admin.Unsubscribe. Page_Load(Object sender, EventArgs e) at System.Web.UI.Control. LoadRecursive() at System.Web.UI.Page. ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page. HandleError(Exception e) at System.Web.UI.Page. ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page. ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page. ProcessRequest() at System.Web.UI.Page. ProcessRequest(HttpContext context) at System.Web.HttpApplication. CallHandlerExecutionStep. System.Web.HttpApplication. IExecutionStep.Execute() at System.Web.HttpApplication. ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
The reason fo this error is that the subscriber indeed doesn't have a user name in the AccessUser table. When I update the AccessUserUserName with the user's email address, unsubscribing works fine.
Is this a bug in the unsubscribe functionality? Or an issue with registering new subscribers?
Imar