More in this section

Forums / Developing with Sitefinity / blogs summary keeps reseting overnight

blogs summary keeps reseting overnight

8 posts, 0 answered
  1. Meister
    Meister avatar
    262 posts
    Registered:
    09 Nov 2007
    22 Apr 2009
    Link to this post
    Hi

    I'm using 3.2 sp2 hotfix 1616 on one of our sites and the summary text has been limited to 100 chars

    however, the next day i check, it always resets itself and shows the full article

    am i doing something wrong?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    22 Apr 2009
    Link to this post
    Hello Quade,

    We have experienced similar problem with version 3.2 of Sitefinity. Here is a KB article that describes the problem Settings applied to the Content View based controls are reset

    I hope this helps.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Meister
    Meister avatar
    262 posts
    Registered:
    09 Nov 2007
    07 May 2009
    Link to this post
    thanks

    i followed the article but it doesn't work
    Code is below for the global.asa

    <%@ Application Language="C#" %>

    <script runat="server">

     public override string GetVaryByCustomString(HttpContext context, string custom)
     {
      if (custom.Equals("cms", StringComparison.CurrentCultureIgnoreCase))
      {
       Telerik.Cms.Web.ICmsUrlContext urlContext = Telerik.Cms.Web.CmsUrlContext.Current;
       if (urlContext != null)
       {
        return urlContext.Path;
       }
      }
      return base.GetVaryByCustomString(context, custom); 
     }

        void Application_Start(object sender, EventArgs e)
        {
            // Code that runs on application startup

     // fix for blog summary reset
        Telerik.Cms.Engine.WebControls.Design.Settings.ContentSetting dummyContent = new Telerik.Cms.Engine.WebControls.Design.Settings.ContentSetting();  
        Telerik.Cms.Engine.WebControls.Design.Settings.TextSetting dummyText = new Telerik.Cms.Engine.WebControls.Design.Settings.TextSetting();  

        }
       
        void Application_End(object sender, EventArgs e)
        {
            //  Code that runs on application shutdown

        }
           
        void Application_Error(object sender, EventArgs e)
        {
            // DONE IN WEB.CONFIG
            //Exception ex = Server.GetLastError();
            //if (ex is HttpException)
            //{
            //    HttpException httpEx = ex as HttpException;
            //    if (httpEx.ErrorCode == 403 || httpEx.Source.StartsWith("Telerik.Cms"))
            //    {
            //        Response.Redirect("~/Sitefinity/nopermissions.aspx");
            //        Server.ClearError();
            //    }
            //}
            //else if (ex is Telerik.Security.SecurityApplicationException)
            //{
            //    Response.Redirect("~/Sitefinity/nopermissions.aspx");
            //    Server.ClearError();
            //}
        }

        void Session_Start(object sender, EventArgs e)
        {
            // Code that runs when a new session is started

        }

        void Session_End(object sender, EventArgs e)
        {
            // Code that runs when a session ends.
            // Note: The Session_End event is raised only when the sessionstate mode
            // is set to InProc in the Web.config file. If session mode is set to StateServer
            // or SQLServer, the event is not raised.

        }
          
    </script>

  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    09 May 2009
    Link to this post
    Hello Quade,

    That's really strange. We had this problem only in that version and this was the solution. Could you please double check if the issue still persists? Do you have a live link which we can observe?

    Regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  5. Meister
    Meister avatar
    262 posts
    Registered:
    09 Nov 2007
    09 May 2009
    Link to this post
    I've doubled checked everything.

    You have to go intot the news control and click on the summary bit, and it then works

    however, as soon as i recycle the App pool in IIS it simply resets and shows the full article

    Is there anything else i need to be doing?
  6. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    12 May 2009
    Link to this post
    Hi Quade,

    Since we are not able to reproduce the error, could you please:
    • send us your project and database, so we could test and debug locally. Please don't forget to send your custom controls, additional files and assemblies, so we could build the project. You could put all files in a zip archive. If the size of this archive is over 10mb, you could open a support ticket and provide with a link. Once we have your project files, we will notify you and proceed with the debugging.
    • Upgade to later version
    Again, this was a problem of Sitefinity 3.2SP2 Hotfix 1616, but the fix is working as expected.

    Regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  7. Meister
    Meister avatar
    262 posts
    Registered:
    09 Nov 2007
    19 Jun 2009
    Link to this post
    problem solved
    i was editing the live server copy

    you need to edit the local debug version, then do a build
    may want to update the article to stop numpties like me doing that!

    thanks for your help
  8. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    19 Jun 2009
    Link to this post
    Hi Quade,

    Thank you for letting us know. It is not easy to maintain a local and remote web sites.
    We will see if we could fit the comment somewhere in the KB article as well.

    Greetings,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
8 posts, 0 answered