Skip to content

Typo in PluginConfig _load_resource method #11927

@JulianJacobi

Description

@JulianJacobi

NetBox version

v3.4.5

Python version

3.11

Steps to Reproduce

  1. Create a plugin, that uses some resource loading (i.e. template_extensions) and explicitly define this resource path in PluginConfig class with template_extensions = 'template_extensions'
  2. Install Plugin
  3. Start Netbox

Expected Behavior

Netbox should start normally, with plugin loaded.

Observed Behavior

An ImportError exception is raised saying that the plugin has not defined an attribute/class called exactly like the name of the plugin.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions