Skip to content

Merging a branch fails if deleting an object modified in another branch #10

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

Closed
jeremystretch opened this issue Jul 22, 2024 · 1 comment
Assignees
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@jeremystretch
Copy link
Contributor

Plugin Version

v0.2.0

NetBox Version

v4.1-dev

Python Version

3.10

Steps to Reproduce

  1. Create two branches
  2. In branch 1, delete an object.
  3. In branch 2, modify some attribute of that object.
  4. Attempt to merge branch 1.

Expected Behavior

The branch should be merged successfully.

Observed Behavior

The merge job fails with the following error:

KeyError('description')

Complete job log:

{
    "log": [
        "Merging branch Branch 1 (branch_kqm2ghg3)",
        "Applying change: Tenancy | tenant Wayne Enterprises deleted by admin",
        "'description'"
    ]
}
@jeremystretch jeremystretch added the type: bug A confirmed report of unexpected behavior in the application label Jul 22, 2024
@jeremystretch jeremystretch self-assigned this Jul 22, 2024
Copy link

linear bot commented Jul 22, 2024

BRA-1 Merging a branch fails

Plugin Version

v0.2.0

NetBox Version

v4.1-dev

Python Version

3.10

Steps to Reproduce

  1. Create two branches
  2. In branch 1, delete an object.
  3. In branch 2, modify some attribute of that object.
  4. Attempt to merge branch 1.

Expected Behavior

The branch should be merged successfully.

Observed Behavior

The merge job fails with the following error:

KeyError('description')

Complete job log:

{
    "log": [
        "Merging branch Branch 1 (branch_kqm2ghg3)",
        "Applying change: Tenancy | tenant Wayne Enterprises deleted by admin",
        "'description'"
    ]
}

@jeremystretch jeremystretch changed the title Merging a branch fails Merging a branch fails if deleting an object modified in another branch Jul 22, 2024
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
Development

No branches or pull requests

2 participants