Skip to content

DNN v9.11.1-rc2 file browsing bug #5533

@skarpik

Description

@skarpik

Description of bug

While editing an HTML module, file browsing fails with the message: "A critical error has occurred. Please check the Admin logs for further details."

Steps to reproduce

Precise steps to reproduce the bug:

  1. Installed DNN 9.11.1-rc2 using nvQuickSite v2.3.3
  2. Once nvQuickSite was done its work, I continued the installation choosing an "empty website". The installation appeared to proceeded properly.
  3. Uploaded a test image to the Site Assets folder to a newly created Images folder.
  4. Started to edit the website. Began by going to site Site Settings. Dragged a DNN logo to the Site Logo box. Dragged a favicon.ico file to the Favicon box. All still seems OK.
  5. Opened an HTML module for editing on the home page and browsed for an image.

Current behavior

Instead of being allowed to browse for my image, I get a pop-up window with the message: "A critical error has occurred. Please check the Admin logs for further details."

Expected behavior

I should be able to browse for my image file.

Screenshots

Screenshot 2023-02-06 235257

Error information

AbsoluteURL:/Providers/HtmlEditorProviders/DNNConnect.CKE/Browser/Browser.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:80f85105-f890-42ad-a1c3-324161dff88b
AssemblyVersion:9.11.1
PortalId:0
UserId:1
TabId:21
RawUrl:/Providers/HtmlEditorProviders/DNNConnect.CKE/Browser/Browser.aspx?Type=Image&tabid=21&PortalID=0&mid=355&ckid=txtContent&mode=Default&lang=en-US&CKEditor=dnn_ctr355_EditHTML_txtContent_txtContent&CKEditorFuncNum=3&langCode=

Referrer:http://dnn-9-11-1.dnndev.me/Home/ctl/Edit/mid/355?popUp=true
UserAgent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78
ExceptionHash:9RfniXuyZHlmwTaPQw8zurMmK/U=
Message:Object reference not set to an instance of an object.
StackTrace:
InnerMessage:Object reference not set to an instance of an object.
InnerStackTrace:

at DNNConnect.CKEditorProvider.Utilities.SettingsUtil.LoadEditorSettingsByKey(IPortalSettings portalSettings, EditorProviderSettings currentSettings, List1 editorHostSettings, String key, IList1 portalRoles)
at DNNConnect.CKEditorProvider.Browser.Browser.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Source:

FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
Server Name: OMEN2

Additional context

This seems very reminiscent of the bug in v9.11.0 where uploading a favicon.ico file messed up file browsing.

Affected version

  • 10.00.00 alpha build
  • 09.11.00 RC2
  • 09.11.00 release candidate
  • 09.10.02 release candidate
  • 09.10.01 latest supported release

Affected browser

  • Chrome
  • Firefox
  • Safari
  • Internet Explorer 11
  • Microsoft Edge (Classic)
  • Microsoft Edge Chromium

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions