nautobot-app-golden-config
nautobot-app-golden-config copied to clipboard
Platform exported by name but imported by ID for Config Replacements
Environment
- Python version: 3.9.6
- Nautobot version: 1.2.11
- nautobot-golden-config version: 1.0.0
Steps to Reproduce
- Create a new Config Replacements item and fill out all required fields. Description is optional.
- On the Config Replacements page, click the Export item and save the CSV file that is generated.
- On the Config Replacements page, click the Import button.
- Copy/paste the data from the exported CSV file. An error will occur stating that the "platform" on row 1 is not a valid UUID.
Expected Behavior
The data should import successfully after being directly exported.
Observed Behavior
The data does not import correctly as Platform exports as the slug but imports as the object ID. Additionally, the ID for the platform is not easy to find in the UI, as the slug is used in the URL instead of the UUID when opening the individual Platform object page.
Error: Row 1 platform: “cisco-ios” is not a valid UUID.
This is related to #248, fixing that should fix this one as well.
@itdependsnetworks Fixing #248 still does not fix this issue.
Looks like its at least partially related to this core issue. https://github.com/nautobot/nautobot/issues/254