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

RcodeZero Driver: fix issue when adding a record where a record with a different type already exists #2038

Open
wants to merge 6 commits into
base: trunk
Choose a base branch
from

Conversation

MikeAT
Copy link
Contributor

@MikeAT MikeAT commented Jan 3, 2025

RcodeZero: Bugfix when adding a record where a record with a different type already exists

Description

The RcodeZero driver generated broken API-Requests when adding records with different type (eg. adding an AAAA record to an existing A record). This PR fixes #2042:

Status

Done, ready for review

Checklist (tick everything that applies)

  • Code linting (required, can be done after the PR checks)
  • Documentation
  • Tests
  • ICLA (required for bigger changes)

@MikeAT
Copy link
Contributor Author

MikeAT commented Jan 3, 2025

Could you please merge this documentation PR too?

@Kami
Copy link
Member

Kami commented Mar 2, 2025

@MikeAT Thanks for the contribution.

Would it be possible to add a unit test case for this fix?

@Kami
Copy link
Member

Kami commented Mar 3, 2025

@MikeAT The documentation PR has been merged.

It looks like the existing tests are failing. It would be great if you could look into that (you likely need to add mock response fixtures for v2 API responses and implement corresponding methods on the MockHttp class) and add a (regression) test case for a bug this PR is fixing.

Thanks.

@MikeAT
Copy link
Contributor Author

MikeAT commented Mar 3, 2025

Hi @Kami,

sorry, I forgot to commit the API v2 tests. And I added the regression test for the fixed bug.

@MikeAT MikeAT changed the title RcodeZero Driver: fix issue when adding a reocrd where a record with a different type already exists RcodeZero Driver: fix issue when adding a record where a record with a different type already exists Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RcodeZero driver: error when adding a record where already a record with another type exists
2 participants