[Freeipa-devel] [PATCH] 135 Host page fixed to work with disabled DNS support

Petr Vobornik pvoborni at redhat.com
Fri May 4 12:18:55 UTC 2012


When DNS support was disabled there were following errors in Web UI:
  1) Host details page was not filled with data
  2) Host adder dialog was broken -> unusable
  3) DNS tab was displayed in navigation

The bugs were fixed by:

1) Was caused by entity_link_widget. The widget was modified to do not 
show link if other_entity (in this case dnsrecord) is not present.

2) Was caused by host_fqdn_widget. The widget is unusable because 
without DNS support it doesn't have access to DNS zone entity. The 
section with this widget was removed. Also IP address field was removed 
because it shouln't be used without DNS support. New 'fqdn' text box was 
added for specifying hostname.

3) New DNS config entity was initialized but it wasn't shown because it 
caused some JavaScript error. The dnsconfig's init method was modified 
to throw expected exception. Now no dns entity is initialized and 
therefore DNS tab in navigation is not displayed.

https://fedorahosted.org/freeipa/ticket/2728
-- 
Petr Vobornik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0135-Host-page-fixed-to-work-with-disabled-DNS-support.patch
Type: text/x-patch
Size: 3470 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120504/242729b4/attachment.bin>


More information about the Freeipa-devel mailing list