{"action":"created","issue":{"url":"https://api.github.com/repos/juvander/DotNetNuke-Forum/issues/4","repository_url":"https://api.github.com/repos/juvander/DotNetNuke-Forum","labels_url":"https://api.github.com/repos/juvander/DotNetNuke-Forum/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/juvander/DotNetNuke-Forum/issues/4/comments","events_url":"https://api.github.com/repos/juvander/DotNetNuke-Forum/issues/4/events","html_url":"https://github.com/juvander/DotNetNuke-Forum/issues/4","id":159932513,"number":4,"title":"Error thrown when posting, possibly generated by sending email notifications","user":{"login":"sgraziosi","id":16877679,"avatar_url":"https://avatars.githubusercontent.com/u/16877679?v=3","gravatar_id":"","url":"https://api.github.com/users/sgraziosi","html_url":"https://github.com/sgraziosi","followers_url":"https://api.github.com/users/sgraziosi/followers","following_url":"https://api.github.com/users/sgraziosi/following{/other_user}","gists_url":"https://api.github.com/users/sgraziosi/gists{/gist_id}","starred_url":"https://api.github.com/users/sgraziosi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgraziosi/subscriptions","organizations_url":"https://api.github.com/users/sgraziosi/orgs","repos_url":"https://api.github.com/users/sgraziosi/repos","events_url":"https://api.github.com/users/sgraziosi/events{/privacy}","received_events_url":"https://api.github.com/users/sgraziosi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-13T11:51:57Z","updated_at":"2016-06-13T13:04:52Z","closed_at":null,"body":"Hi,\r\nthanks for writing this! After upgrading to DNN 8 (from 7.x to 8.0.3, specifically), the forum wasn't working, with [error](http://www.dnnsoftware.com/forums/threadid/527058/scope/posts/upgraded-to-8-forum-not-working):\r\nInnerMessage:Could not load type 'DotNetNuke.Web.UI.WebControls.DnnComboBox' ...\r\nas suggested, I installed this version of the forum (05.00.06_DNN8), and the problem was solved.\r\nHowever, posting a new message now sends to an error page. The posting actually works, but no email notifications are sent. In the event log I find:\r\n\r\n> ModuleId:5469\r\n> ModuleDefId:127\r\n> FriendlyName:\r\n> ModuleControlSource:DesktopModules/Forum/Forum_PostEdit.ascx\r\n> AbsoluteURL:/X/Default.aspx\r\n> DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke\r\n> ExceptionGUID:9af92a41-2f3c-4fd7-8f02-eae9243e3267\r\n> AssemblyVersion:8.0.3\r\n> PortalId:35\r\n> UserId:131\r\n> TabId:2932\r\n> RawUrl:/X/Default.aspx?tabid=2932&ctl=PostEdit&forumid=23&postid=1711&action=reply&mid=5469\r\n> Referrer:https:/X/X/Default.aspx?tabid=2932&ctl=PostEdit&forumid=23&postid=1711&action=reply&mid=5469\r\n> UserAgent:Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)\r\n> ExceptionHash:l2JQe9CRwQ/0GKMcji1KeA==\r\n> Message:Object reference not set to an instance of an object.\r\n> StackTrace:\r\n> InnerMessage:Object reference not set to an instance of an object.\r\n> InnerStackTrace:\r\n>    at DotNetNuke.Modules.Forum.Utilities.ForumUtils.AddHost(String URL, String PrimaryHost)\r\n>    at DotNetNuke.Modules.Forum.Utilities.ForumUtils.FormatEmailImage(String mText, String PrimaryAlias)\r\n>    at DotNetNuke.Modules.Forum.ForumEmail.FormatHTMLBody(Object Body, Configuration objConfig)\r\n>    at DotNetNuke.Modules.Forum.ForumEmail.GenerateBody(String Notes, ForumContentTypeID ContentType, Hashtable Keywords, String BodyToParse, Configuration objConfig, Boolean HTML)\r\n>    at DotNetNuke.Modules.Forum.ForumEmail.GenerateEmail(String Notes, ForumEmailType emailType, Int32 ContentID, Configuration objConfig, String URL, String ProfileURL, Int32 PortalID)\r\n>    at DotNetNuke.Modules.Forum.Utilities.ForumUtils.SendForumMail(Int32 ContentID, String URL, ForumEmailType EmailType, String Notes, Configuration objConfig, String ProfileURL, Int32 PortalID)\r\n>    at DotNetNuke.Modules.Forum.PostConnector.HandleNotifications(Boolean IsModerated, Configuration objConfig, PostInfo newPostInfo, ForumEmailType emailType, Int32 TabID, Int32 PortalID)\r\n>    at DotNetNuke.Modules.Forum.PostConnector.PostToDatabase(Int32 TabID, Int32 ModuleID, Configuration objConfig, Int32 PortalID, ForumUserInfo objForumUser, String PostSubject, String PostBody, ForumInfo objForum, Int32 ParentPostID, Int32 PostID, Boolean IsPinned, Boolean IsClosed, Boolean ReplyNotify, ThreadStatus Status, String lstAttachmentFileIDs, String RemoteAddress, Int32 PollID, Int32 ThreadID, PostAction objAction, Boolean IsModerated, List`1 Terms)\r\n>    at DotNetNuke.Modules.Forum.PostConnector.PostingValidation(Int32 TabID, Int32 ModuleID, Int32 PortalID, Int32 UserID, String PostSubject, String PostBody, Int32 ForumID, Int32 ParentPostID, Int32 PostID, Boolean IsPinned, Boolean IsClosed, Boolean ReplyNotify, ThreadStatus Status, String lstAttachmentFileIDs, String RemoteAddress, Int32 PollID, Boolean IsQuote, String Provider, Int32 ThreadID, List`1 Terms)\r\n>    at DotNetNuke.Modules.Forum.PostConnector.SubmitInternalPost(Int32 TabID, Int32 ModuleID, Int32 PortalID, Int32 UserID, String PostSubject, String PostBody, Int32 ForumID, Int32 ParentPostID, Int32 PostID, Boolean IsPinned, Boolean IsClosed, Boolean ReplyNotify, ThreadStatus Status, String AttachmentFileIDs, String RemoteAddress, Int32 PollID, Boolean IsQuote, Int32 ThreadID, List`1 Terms)\r\n>    at DotNetNuke.Modules.Forum.PostEdit.cmdSubmit_Click(Object sender, EventArgs e)\r\n> Source:\r\n> FileName:\r\n> FileLineNumber:0\r\n> FileColumnNumber:0\r\n> Method:\r\n> Server Name:\r\n\r\nI realise this might be very difficult to reproduce: it is happening on our very old (and our only) DNN install, gone through lots of troublesome upgrades and moved across three \"migrated\" installs from one server to another (now running on an Azure VM). So it's far from your usual vanilla DNN instance!\r\nIn any case, I thought it would be good for you to know.\r\nthanks and best wishes,\r\nSergio\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/juvander/DotNetNuke-Forum/issues/comments/225574788","html_url":"https://github.com/juvander/DotNetNuke-Forum/issues/4#issuecomment-225574788","issue_url":"https://api.github.com/repos/juvander/DotNetNuke-Forum/issues/4","id":225574788,"user":{"login":"juvander","id":10828291,"avatar_url":"https://avatars.githubusercontent.com/u/10828291?v=3","gravatar_id":"","url":"https://api.github.com/users/juvander","html_url":"https://github.com/juvander","followers_url":"https://api.github.com/users/juvander/followers","following_url":"https://api.github.com/users/juvander/following{/other_user}","gists_url":"https://api.github.com/users/juvander/gists{/gist_id}","starred_url":"https://api.github.com/users/juvander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juvander/subscriptions","organizations_url":"https://api.github.com/users/juvander/orgs","repos_url":"https://api.github.com/users/juvander/repos","events_url":"https://api.github.com/users/juvander/events{/privacy}","received_events_url":"https://api.github.com/users/juvander/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T13:04:52Z","updated_at":"2016-06-13T13:04:52Z","body":"Have not checked, but this might be something that is changed along the DNN versions and now this is set by default to first one. If you have more than one alias, then you can choose what is the primary one. This alias is used when sending notification e-mails as link to post, most likely similar usage elsewhere in DNN as well.\r\n\r\nThis alias is found in section where you define those aliases in UI, advanced settings."}}
{"actor":{"display_login":"juvander"}}