Hi Mauricio,
Because I have made a lot of use of the customisation facilities in your provider, I decided I should run several test and completely replace the entire FCK folder and the settings in the web.config and the dll in the bin with fresh files the standard 02.00.03 package. I ended up testing each step one at a time until it failed.
This is the result:
- Opening an instance of the editor (text/HTML module) and closing it again, produces no errors.
- Opening the editor, then opening the customer editor options and closing it again, produces no errors.
- Opening the customer editor options, making no changes, applying the unchanged settings, and closing it again, produces no errors.
- Clicking the “Refresh editor” link causes the two errors pasted below
- From this point on, every time the editor is opened and every time the editor is closed, cause the same two errors.
- updated post: If I reset/clear the custom settings again, the errors stop.
From what I can see in the new provider, there are two new HTML Encode settings. They are both set to “default” by default. It looks to me as if there are no actual default settings, and therefore, after any customisation is applied, the lack of settings triggers the errors.
In order to test this, I changed both of the new options to “Yes”, then applied the settings, and checked for errors. From this point on there were no longer any errors.
Is there any way that defaults for these two settings could be applied in the web.config htmlprovider section?
These are the relevant errors:
InnerException: Error loading FCK setting (Reverse HTML Encode output)
StackTrace:
Message: System.Exception: Error loading FCK setting (Reverse HTML Encode output) ---> System.formatException: String was not recognized as a valid Boolean. at System.Boolean.Parse(String value) at DotNetNuke.HtmlEditor.FckHtmlEditorProvider.Fckeditor.LoadFCKCTLSettings(Boolean mAdmin) --- End of inner exception stack trace ---
InnerException: Error loading FCK setting (HTML Encode output)
StackTrace:
Message: System.Exception: Error loading FCK setting (HTML Encode output) ---> System.formatException: String was not recognized as a valid Boolean. at System.Boolean.Parse(String value) at DotNetNuke.HtmlEditor.FckHtmlEditorProvider.Fckeditor.LoadFCKCTLSettings(Boolean mAdmin) --- End of inner exception stack trace ---
Rob