<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 28.10.2015 08:06, Abhijeet Kasurde
wrote:<br>
</div>
<blockquote cite="mid:563073E6.6030201@redhat.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<br>
<br>
<div class="moz-cite-prefix">On 10/27/2015 08:28 PM, Martin Basti
wrote:<br>
</div>
<blockquote cite="mid:562F912E.9040702@redhat.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<br>
<br>
<div class="moz-cite-prefix">On 27.10.2015 14:46, Martin Basti
wrote:<br>
</div>
<blockquote cite="mid:562F8019.8020809@redhat.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<br>
<br>
<div class="moz-cite-prefix">On 27.10.2015 13:00, Abhijeet
Kasurde wrote:<br>
</div>
<blockquote cite="mid:562F6764.3000704@redhat.com" type="cite">Hi
All, <br>
<br>
This patch fixes bug - <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://fedorahosted.org/freeipa/ticket/4811">https://fedorahosted.org/freeipa/ticket/4811</a>
<br>
<br>
Thanks, <br>
Abhijeet Kasurde <br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
[Tue Oct 27 14:44:51.328615 2015] [wsgi:error] [pid 5556] ipa:
ERROR: non-public: AttributeError: 'dnszone' object has no
attribute 'handle_obj_found'<br>
[Tue Oct 27 14:44:51.328654 2015] [wsgi:error] [pid 5556]
Traceback (most recent call last):<br>
[Tue Oct 27 14:44:51.328659 2015] [wsgi:error] [pid 5556]
File
"/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py",
line 350, in wsgi_execute<br>
[Tue Oct 27 14:44:51.328664 2015] [wsgi:error] [pid 5556]
result = self.Command[name](*args, **options)<br>
[Tue Oct 27 14:44:51.328669 2015] [wsgi:error] [pid 5556]
File "/usr/lib/python2.7/site-packages/ipalib/frontend.py",
line 447, in __call__<br>
[Tue Oct 27 14:44:51.328674 2015] [wsgi:error] [pid 5556]
ret = self.run(*args, **options)<br>
[Tue Oct 27 14:44:51.328678 2015] [wsgi:error] [pid 5556]
File "/usr/lib/python2.7/site-packages/ipalib/frontend.py",
line 764, in run<br>
[Tue Oct 27 14:44:51.328683 2015] [wsgi:error] [pid 5556]
return self.execute(*args, **options)<br>
[Tue Oct 27 14:44:51.328687 2015] [wsgi:error] [pid 5556]
File "/usr/lib/python2.7/site-packages/ipalib/plugins/dns.py",
line 2935, in execute<br>
[Tue Oct 27 14:44:51.328692 2015] [wsgi:error] [pid 5556]
result = super(dnszone_enable, self).execute(*keys, **options)<br>
[Tue Oct 27 14:44:51.328696 2015] [wsgi:error] [pid 5556]
File "/usr/lib/python2.7/site-packages/ipalib/plugins/dns.py",
line 2262, in execute<br>
[Tue Oct 27 14:44:51.328701 2015] [wsgi:error] [pid 5556]
self.obj.handle_obj_found(*keys)<br>
[Tue Oct 27 14:44:51.328705 2015] [wsgi:error] [pid 5556]
AttributeError: 'dnszone' object has no attribute
'handle_obj_found'<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
Thank you, ACK patch works as expected<br>
<br>
However now 2 tests are failing because error message was
changed, please fix tests too.<br>
<br>
test_xmlrpc/test_dns_plugin.py <-
test_xmlrpc/xmlrpc_test.py::test_forward_zones::test_command[0071:
dnsforwardzone_disable: Try to disable non-existent forward
zone] FAILED<br>
test_xmlrpc/test_dns_plugin.py <-
test_xmlrpc/xmlrpc_test.py::test_forward_zones::test_command[0075:
dnsforwardzone_enable: Try to enable non-existent forward zone]
FAILED<br>
<br>
E AssertionError: assert_deepequal: expected != got.<br>
E <br>
E expected = u'no such entry'<br>
E got = u'non-existent.fwzone.test.: DNS forward
zone not found'<br>
E path = ()<br>
<br>
</blockquote>
Updated patch with testcase<br>
<blockquote cite="mid:562F912E.9040702@redhat.com" type="cite">
Martin<br>
</blockquote>
<br>
</blockquote>
Pushed to master: c60cec4fa7adf004d383b68b78f6fd51d5cecb21<br>
</body>
</html>