Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Bugs & Issues > Blog author suddenly not saving

Blog author suddenly not saving

  • Matt avatar

    Posted on Jan 26, 2012 (permalink)

    Hey guys,

    I've got a real weird one here, I'll try to keep the description of the problem as brief and concise as possible.  

    We are using Sitefinity 3.2, and our site uses the blog module.  Everything has been great with it, until the other day when attempting to launch a new blog section I noticed that the new blogs weren't saving the author I had selected when entering them.  As a test, I went back and edited an old blog that already had an author saved.  I didn't change anything on the blog, just picked edit and then save. The author that had been associated was removed.

    Everything appears just fine when I edit the post.  There is a dropdown list which contains all of the blog authors.  I can select one and pick save and everything appears fine. When I edit the blog and view the author selection again, there is no author associated.

    Can you think of any reason why this could happen? I've spent a ton of time trying to figure this out and am totally stumped.  Let me know if I can provide any additional information.

    Thank you!

    Matt

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Jan 27, 2012 (permalink)

    Hello,

    Is this dropdown a custom field. As far as I remember the default blogs module do not have drop down that allows you to choose a user from a list.

    Regards,
    Ivan Dimitrov
    the Telerik team
    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

    Reply

  • Matt avatar

    Posted on Jan 27, 2012 (permalink)

    Hi Ivan,

    The drop down list is a custom user control that pulls all users in the "Blog Authors" role and puts them in a drop down list. On the edit blog post page there are a variety of controls to enter data about the post (title, the post content, category, tags, etc) and then at the bottom is the author selection drop down (inside of a ContentMetaFields control).

    To give some background, everything worked fine until the site was hacked via the unsecured image upload dialog exploit that I'm sure you are familiar with. The hacker took down a few random sitefinity pages (cmsentrypoint.aspx and Dummy.master) and some other random things. After we restored the site (not a complete restore, as something happened and the hosting company didn't have a complete backup so we had to try to piece it together from the files I have on my dev machine), everything worked fine except the authors meta field isn't being saved with blog posts.

    I guess my question is can you think of any reason why this piece of metadata won't save, and can you maybe provide a quick guide on how to save custom meta fields with blog posts so I can compare my code to it to see what the heck is going on here? Thank you, and please let me know if I can provide any additional data.  I've tried everything and am going crazy!

    Thanks,

    Matt

    Reply

  • Matt avatar

    Posted on Jan 27, 2012 (permalink)

    Oh boy, I fixed it. It turns out that in the hacking attack Global.asax was deleted and no one realized (the hosting company was unable to provide us with a backup of the site).  There was some custom logic in there that pulled a session variable that was set when the user selected an author from the drop down and saved it that way (events were added to Telerik.Cms.Engine.ContentManager.Executing and Telerik.Cms.Engine.ContentManager.Executed).

    Sorry for the trouble, and thank you for your response!

    Matt

    Reply

  • Register for webinar
Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Bugs & Issues > Blog author suddenly not saving