Hi,
please see the patch attached.

Standa L.
From 8bb771ad0f2f015ea1ebbdf7291ed5c7ae2a0a9b Mon Sep 17 00:00:00 2001
From: Stanislav Laznicka <slazn...@redhat.com>
Date: Fri, 9 Oct 2015 13:32:33 +0200
Subject: [PATCH] Fixes disappearing automember expressions

https://fedorahosted.org/freeipa/ticket/5353
---
 install/ui/src/freeipa/automember.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/install/ui/src/freeipa/automember.js b/install/ui/src/freeipa/automember.js
index 5eff3e69bdb014a3057bf9532e420cede416e8bf..0a73967290e742bf8ebc4920f6c2ee3cd52bdd2f 100644
--- a/install/ui/src/freeipa/automember.js
+++ b/install/ui/src/freeipa/automember.js
@@ -516,7 +516,8 @@ IPA.automember.condition_widget = function(spec) {
         var i = results.length - 1;
         while (i >= 0) {
             if (results[i].completed === 1){
-                that.reload_facet({ result: results[i] });
+                that.reload_facet({ error: results[i].error, id: null,
+                                    result: results[i] });
                 return;
             }
             i--;
@@ -776,4 +777,4 @@ exp.register = function() {
 phases.on('registration', exp.register);
 
 return exp;
-});
\ No newline at end of file
+});
-- 
2.4.3

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to