#9036 Invalid PTR records created when navigated from host details page
Closed: fixed 2 years ago by frenaud. Opened 2 years ago 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

2 years ago

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

2 years ago

Metadata Update from @pvoborni:
- Issue assigned to pvoborni

2 years ago

master:

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

ipa-4-9:

  • 4f5ed83 fix(webui): create correct PTR record when navigated from host page
  • a286cd3 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)

2 years ago

Login to comment on this ticket.

Metadata