Skip to content

[Bug]: Wonky CDF controller lifetime prevents dnn.servicesframework.js from loading #6954

@donker

Description

@donker

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

The new CDF uses a controller that sits in DNN's DI container for the duration of a request. However, upon researching an issue where the dnnSF was absent on the client side, I discovered that the new approach for ServicesFramework somehow injected the dnn.servicesframework script into another CDF controller separate from the main one.

Steps to reproduce?

  1. Download and install DNN 10.2.2 RC1
  2. Log in and switch to edit mode, open edit bar and try to add module
  3. Notice no modules show up to pick from and the following error in the console: dnnSF() is null

Current Behavior

No response

Expected Behavior

No response

Relevant log output

Anything else?

No response

Affected Versions

Current development branch (unreleased)

What browsers are you seeing the problem on?

Firefox

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions