pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone

Blame SOURCES/0076-webui-fix-service-unprovisioning.patch

e3ffab
From e70d7becc295aacdc1c90f64fe65266a8c0d0205 Mon Sep 17 00:00:00 2001
e3ffab
From: Petr Vobornik <pvoborni@redhat.com>
e3ffab
Date: Thu, 27 Nov 2014 12:47:42 +0100
e3ffab
Subject: [PATCH] webui: fix service unprovisioning
e3ffab
e3ffab
Missed part of field refactoring caused that service could not be unprovisioned.
e3ffab
e3ffab
https://fedorahosted.org/freeipa/ticket/4770
e3ffab
e3ffab
Reviewed-By: Martin Basti <mbasti@redhat.com>
e3ffab
---
e3ffab
 install/ui/src/freeipa/service.js | 2 +-
e3ffab
 1 file changed, 1 insertion(+), 1 deletion(-)
e3ffab
e3ffab
diff --git a/install/ui/src/freeipa/service.js b/install/ui/src/freeipa/service.js
e3ffab
index 3e47981bdbda9cd076eab75da0f5133503af6f3d..94842a912c77a55acad9d2f0881f3ad23915f700 100644
e3ffab
--- a/install/ui/src/freeipa/service.js
e3ffab
+++ b/install/ui/src/freeipa/service.js
e3ffab
@@ -467,7 +467,7 @@ IPA.service.unprovision_dialog = function(spec) {
e3ffab
     that.unprovision = function() {
e3ffab
 
e3ffab
         var principal_f  = that.facet.fields.get_field('krbprincipalname');
e3ffab
-        var pkey = principal_f.values[0];
e3ffab
+        var pkey = principal_f.get_value()[0];
e3ffab
 
e3ffab
         rpc.command({
e3ffab
             entity: that.entity.name,
e3ffab
-- 
e3ffab
2.1.0
e3ffab