Try Now
More in this section

Forums / Bugs & Issues / User can not use links after send out

User can not use links after send out

1 posts, 0 answered
  1. Ganna
    Ganna avatar
    2 posts
    01 Jun 2012
    20 Mar 2013
    Link to this post
    Got bug from client today.
    After send out user were not able to open any links in the message.
    After little bit of research i've noticed that url contains some unique per each sendout guids like http://www.xxxxxx.co.nz/92fab72e-cc9b-4171-b5c5-4317d977353a?sf=DF960A63A07Chttp%3a%2f%2fwww.xxxxxx.co.nz.

    Every subscriber would have these tokens different 'sf='. I noticed that bug happend to subscribers, which were created in code by NewslettersManager.GetManager().CreateSubscriber(false, subscriberId);

    When i checked sitefinity table  sf_subscriber i found out that all users which could not use links had short_id null.

    My fix was to delete all subscribers with shot_id = null and import them again with sitefinity import option.

    What does short_id means and why in documentation example create subscriber it has 'false' for short_id. 

    if (mailingList != null)    {        
    Subscriber subscriber = manager.CreateSubscriber(false, subscriberId);        
    subscriber.FirstName = firstName;        
    subscriber.LastName = lastName;        
    subscriber.Email = email;         
    manager.Subscribe(subscriber, mailingListId);        manager.SaveChanges();    
1 posts, 0 answered