#9036 Invalid PTR records created when navigated from host details page
Closed: fixed by frenaud. Opened by pvoborni.

Issue

A PTR record without trailing '.' is created when navigated from host details page

Steps to Reproduce

Steps to reproduce:
1. make sure that reverse zone doesn't have the desired PTR record
2. open host page of the host with matchnig the A record, e.g.: https://master.pvoborni.test/ipa/ui/#/e/host/details/test2.pvoborni.test
3. click on the "Host name" link, it will bring us to it's DNS record page. E.g., https://master.pvoborni.test/ipa/ui/#/e/dnsrecord/details/pvoborni.test&test2
! notice the missing '.' in the URL after zone name (pvoborni.test)
4. click on the A record , dialog will show up, saying "record not found"
5. click on the "create DNS record"

Actual behavior

The new record is created without the trailing '.'.

Expected behavior

The new record is created with the trailing '.'.

Version/Release/Distribution

All supported versions.


Metadata Update from @pvoborni:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=2009114

PR: https://github.com/freeipa/freeipa/pull/6084

Metadata Update from @pvoborni:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6084

Metadata Update from @pvoborni:
- Issue assigned to pvoborni

master:

  • 36b975804fad6b81dbfddd5ea0b5804542a2ed18 fix(webui): create correct PTR record when navigated from host page
  • da4a7d29e9308e77c547c238c31c6c86fca78b3f webui tests: remove unnecessary code in add_record

ipa-4-9:

  • 4f5ed837b43d378ed9e003c279e311656b1773ab fix(webui): create correct PTR record when navigated from host page
  • a286cd31ec031e07b4d196715ae501f873a4bde2 webui tests: remove unnecessary code in add_record

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata