Missed part of field refactoring caused that service could not be unprovisioned.

https://fedorahosted.org/freeipa/ticket/4770

For regression tests I've opened ticket:
https://fedorahosted.org/freeipa/ticket/4772
--
Petr Vobornik

From 0a1ef3e4d4ec6d758a736774d34362d203e5dfba Mon Sep 17 00:00:00 2001
From: Petr Vobornik <pvobo...@redhat.com>
Date: Thu, 27 Nov 2014 12:47:42 +0100
Subject: [PATCH] webui: fix service unprovisioning

Missed part of field refactoring caused that service could not be unprovisioned.

https://fedorahosted.org/freeipa/ticket/4770
---
 install/ui/src/freeipa/service.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install/ui/src/freeipa/service.js b/install/ui/src/freeipa/service.js
index 3e47981bdbda9cd076eab75da0f5133503af6f3d..94842a912c77a55acad9d2f0881f3ad23915f700 100644
--- a/install/ui/src/freeipa/service.js
+++ b/install/ui/src/freeipa/service.js
@@ -467,7 +467,7 @@ IPA.service.unprovision_dialog = function(spec) {
     that.unprovision = function() {
 
         var principal_f  = that.facet.fields.get_field('krbprincipalname');
-        var pkey = principal_f.values[0];
+        var pkey = principal_f.get_value()[0];
 
         rpc.command({
             entity: that.entity.name,
-- 
1.9.3

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to