freeipa/ipatests
Petr Vobornik 36b975804f fix(webui): create correct PTR record when navigated from host page
In scenario:
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://server.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://server.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"

PTR record created by Web UI doesn't have trailing '.' (is not fully
qualified record) even if the DNS zone is.

This patch is fixing the link to the DNS Record page so that the
page then correctly gets the DNS Zone name and thus creates a correct
fully qualified PTR record.

https://bugzilla.redhat.com/show_bug.cgi?id=2009114
https://pagure.io/freeipa/issue/9036

Signed-off-by: Petr Vobornik <pvoborni@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2021-11-22 12:38:35 +01:00
..
azure seccomp profile: Default to ENOSYS instead of EPERM 2021-10-18 12:08:56 +02:00
man Simplify ipa-run-tests script 2019-07-16 13:23:21 +03:00
prci_definitions ipatests: update packages in rawhide test test_installation_client.py 2021-11-19 22:12:32 +01:00
pytest_ipa ipatests: TestMultipleExternalCA: Create tempfiles on remote host 2021-10-28 16:29:01 -04:00
test_cmdline Make the schema cache TTL user-configurable 2021-11-03 10:59:10 +01:00
test_custodia Also drop Custodia client and forwarder 2021-06-16 10:28:17 -04:00
test_install Unify access to FQDN 2020-10-26 17:11:19 +11:00
test_integration ipatests: mark test_installation_TestInstallWithCA_DNS3 as xfail 2021-11-18 18:05:35 +01:00
test_ipaclient Remove support for csrgen 2021-01-21 13:51:45 +01:00
test_ipalib When loading certificates verify that it is X.509 v3 2021-06-14 15:19:42 -04:00
test_ipaplatform ipatests: Update expectations for test_detect_container 2021-05-25 10:45:49 +03:00
test_ipapython Return a copy of cached entries, only with requested attributes 2021-06-29 14:55:50 +03:00
test_ipaserver ipatests: Fix TestAJPSecretUpgrade tests on systems without pkiuser 2021-08-12 16:34:17 -04:00
test_ipatests_plugins ipatests: Don't turn Pytest IPA deprecation warnings into errors 2020-07-29 15:10:00 -04:00
test_webui fix(webui): create correct PTR record when navigated from host page 2021-11-22 12:38:35 +01:00
test_xmlrpc ipatests: fix get_user_result method 2021-11-10 14:05:53 +01:00
__init__.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
conftest.py ipatests: Don't turn Pytest IPA deprecation warnings into errors 2020-07-29 15:10:00 -04:00
create_external_ca.py Test external CA with DNS name constraints 2019-08-06 12:39:46 +02:00
data.py Fix more bytes/unicode issues 2015-10-22 18:34:46 +02:00
i18n.py Sprinkle raw strings across the code base 2018-09-27 10:23:03 +02:00
ipa-run-tests ipatests: Specify shell implementation 2020-04-21 13:24:50 +02:00
ipa-test-config Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
ipa-test-task ipatests: Fetch sudo rules without time offset 2021-06-03 09:21:45 +03:00
Makefile.am Build: fix distribution of static files for web UI 2016-11-09 13:08:32 +01:00
setup.cfg Port all setup.py to setuptools 2016-10-20 18:43:37 +02:00
setup.py Add Custodia tests 2021-06-16 10:28:17 -04:00
test_util.py Fix E712 comparison to True / False 2020-05-05 10:42:46 +02:00
util.py ipatests: Remove no longer needed 'skip' compatibility 2020-04-21 13:24:50 +02:00