Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dry run sync on a branch results in a ValidationError when the branch is later synced with "commit" #61

Closed
mrmrcoleman opened this issue Aug 23, 2024 · 0 comments · Fixed by #65 or #70
Assignees
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@mrmrcoleman
Copy link

mrmrcoleman commented Aug 23, 2024

Plugin Version

0.3.1

NetBox Version

v4.1-beta1

Python Version

Python 3.12.3

Steps to Reproduce

  1. Create a branch
  2. Create a site in main so that it shows up in the "changes behind" in the branch
  3. Sync the branch in dry-run mode
  4. Sync the branch with "commit" selected (non dry-run)

Expected Behavior

Step 4 should work correctly as there are no conflicts between main and the branch

Observed Behavior

ValidationError({'id': ['Site with this ID already exists.'], 'name': ['Site with this Name already exists.'], 'slug': ['Site with this Slug already exists.']})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
2 participants