+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Email Campaign cannot see after delete the form.

Email Campaign cannot see after delete the form.

4 posts, 1 answered
  1. BB
    BB avatar
    7 posts
    Registered:
    05 Oct 2012
    07 Jun 2013
    Link to this post
    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.
  2. Lilia Messechkova
    Lilia Messechkova avatar
    42 posts
    Registered:
    13 Jul 2016
    13 Jun 2013
    Link to this post
    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
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. BB
    BB avatar
    7 posts
    Registered:
    05 Oct 2012
    13 Jun 2013
    Link to this post
    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.
  4. Lilia Messechkova
    Lilia Messechkova avatar
    42 posts
    Registered:
    13 Jul 2016
    14 Jun 2013
    Link to this post
    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();
           }

    The id of your mailing list you can find in sf_lst table in the database.

    Once you delete your mailing list, you will be able to enter the Email Campaigns screen and modify your campaign to use another list.

    Please let me know if you have any  questions and apologies for the inconvenience.

    Regards,
    Lilia Messechkova
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
4 posts, 1 answered