dnnsoftware / Dnn.Platform

DNN (formerly DotNetNuke) is the leading open source web content management platform (CMS) in the Microsoft ecosystem.
https://dnncommunity.org/
MIT License
1.01k stars 745 forks source link

[Bug]: Error when using default containers #5996

Closed leedavi closed 3 months ago

leedavi commented 3 months ago

Is there an existing issue for this?

What happened?

If you assign a default skin and use a default container from another skin, all modules using the default container will throw an error.

image

Steps to reproduce?

  1. install a new skin
  2. Go into Themes and select a default skin.
  3. Select "Container" and select a default container that is NOT in the default skin.
  4. Add a new module to a page, it will display the error.

Current Behavior

Error displayed

Expected Behavior

No error and it uses the default container selected in themes option.

Relevant log output

No response

Anything else?

This worked in DNN9.12, so this bug will break upgrades if no container is specified for the module

Affected Versions

9.13.2 (latest release)

What browsers are you seeing the problem on?

Chrome, Microsoft Edge

Code of Conduct

leedavi commented 3 months ago

Sorry, I didn't realize this was the Skin forcing a container that was not installed. I'll close it.