Email Campaign cannot see after delete the form.
I'm using ver 6 locally.
I created form -> create mailing list. Connect the data to the form I created. After tested them I deleted my form and went back to email campaign. But there is an error and no longer showing email campaign. What should I do?
Error message is as below.
You are trying to access item that no longer exists. The most probable reason is that it has been deleted by another user.
Description: An unhandled exception occurred during
the execution of the current web request. Please review the stack trace
for more information about the error and where it originated in the
code.
Exception Details: Telerik.Sitefinity.SitefinityExceptions.ItemNotFoundException:
You are trying to access item that no longer exists. The most probable
reason is that it has been deleted by another user.
Hi BB,
I tried to reproduce the issue which you experience but I couldn't. Can you please give us more details where exactly you see the error. Some screen shots should help or if you can give us access to your site.
Regards,
Lilia Messechkova
Telerik
This is what I did.
1. Create a form with Form module (ex. Test Form)
2. Create Mailing lists (Email Campaign -> Mailing lists), ex. Test
3. Change Mailing list property
Advanced -> Connect this list -> Add connection -> Connection source -> Sitefinity forms module -> Connect this list to: -> Select the form I created (Test Form) and Save
4. Go back to Form module and Delete the from in Form module (Test Form)
5. Go back to Email Campaign -> Shown the error as attached.
Hello BB,
I succeeded to reproduce the issue which you described. This is a bug which I have logged. It will be fixed for the next version of Sitefinity 6.1. For the time being I can suggest a work around.
Please delete your mailing list using the following method:
public void DeleteMailingList(Guid id)
NewslettersManager manager = NewslettersManager.GetManager();
if (manager.GetMailingLists().Where(ml => ml.Id == id).Count() > 0)
manager.DeleteMailingList(id);
manager.SaveChanges();