You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although #2566 was fixed, there is still the unsolved problem that some installations may still have "broken" sysObjectID values in the NetboxType table.
There are actually two duplicate implementations of get_enterprise_id() - one for models.Netbox and one for shadows.Netbox. Only the first is mentioned in #2566, but both should be fixed:
This method explicitly only checks for a non-dotted enterprise prefix:
If there are bogus data in the database we should probably fix it in the database as well, for consistency.
We did discuss that, but the data itself isn't really bogus - it's just that parts of NAV were very picky about the formatting of the string (it did not accept data with a leading ., even though that is the most common way to write out an OID).
#2658 fixes this so that even said "bogus" data would be parsed just fine.
Although #2566 was fixed, there is still the unsolved problem that some installations may still have "broken"
sysObjectID
values in the NetboxType table.There are actually two duplicate implementations of
get_enterprise_id()
- one formodels.Netbox
and one forshadows.Netbox
. Only the first is mentioned in #2566, but both should be fixed:nav/python/nav/models/manage.py
Lines 1278 to 1291 in 97fc362
Originally posted by @lunkwill42 in #2566 (comment)
The text was updated successfully, but these errors were encountered: