Stack overflow when editing blog

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
3/5/2011 9:05:30 AM
Gravatar
Total Posts 18

Stack overflow when editing blog

I just pulled in the most recent source code changes from TortoiseHg and built MojoPortal. When I went to edit a blog entry on my local machine, the Visual Studio JIT debugger came up. When I debugged the process, I saw where it was having a stack overflow in WebConfigSettings.cs starting at line 2473. The three CKEditorHxMapping properties reference themselves rather than using a literal string value:

 public static string CKEditorH1Mapping
        {
            get { return ConfigHelper.GetStringProperty(CKEditorH1Mapping, "h3"); }
        }

Should be:

 public static string CKEditorH1Mapping
        {
            get { return ConfigHelper.GetStringProperty("CKEditorH1Mapping", "h3"); }
        }

I can fix this locally, but I'm not sure how to revert my changes when I pull down the latest updates after you check in the fix. Is there a Revert Changes option with TortoiseHg as there is with TortoiseSVN or do I need to do that differently?

Thanks for your help,

Don

3/5/2011 9:11:55 AM
Gravatar
Total Posts 18439

Re: Stack overflow when editing blog

Hi Don,

Thanks, I was actually just encountering similar problems and had not yet figured out the cause. You are exactly right those were supposed to have quotes around them.

I've just fixed it and pushed the changes to the repository.

Thanks again,

Joe

You must sign in to post in the forums. This thread is closed to new posts.