nautobot / nautobot-app-ssot

Single Source of Truth for Nautobot
https://docs.nautobot.com/projects/ssot/en/latest/
Other
37 stars 39 forks source link

Unable to view Infoblox Configuration List #530

Closed nopg closed 2 months ago

nopg commented 2 months ago

Environment

Expected Behavior

To be presented with a page listing any existing Infoblox Configurations, and ability to create a new Configuration.

Observed Behavior

Traceback with: 'NoneType' object has no attribute '__name__' Exception Location: | /usr/local/lib/python3.11/site-packages/nautobot/core/templatetags/helpers.py, line 798, in saved_view_modal

Steps to Reproduce

  1. From the home page, choose Apps -> Installed Apps
  2. Click the orange cog (configure) for Single Source of Truth
  3. Click "Infoblox Configuration List"

Cause/Fix

This is caused by Saved Views being implemented in Nautobot 2.3+. At /nautobot/core/templates/generic/object_list.html , line 263 it determines that the SSOTInfobloxConfig model is a saved view (new default setting). This model has no need for ever being a saved view.

The fix will be to set is_saved_view_model = False for the class SSOTInfobloxConfig, PR incoming.

alhogan commented 2 months ago

Can this be back ported to the 2.8 LTM as well?