https://fedorahosted.org/freeipa/ticket/6069
--
David Kupka
From 3c4a505b041738312ae97e0dd26362523f985a7d Mon Sep 17 00:00:00 2001
From: David Kupka <dku...@redhat.com>
Date: Thu, 14 Jul 2016 10:15:59 +0200
Subject: [PATCH] schema: Fix subtopic -> topic mapping

https://fedorahosted.org/freeipa/ticket/6069
---
 ipaserver/plugins/schema.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ipaserver/plugins/schema.py b/ipaserver/plugins/schema.py
index a82b357899a483fd3b3dc9f7407bd26a4c03aada..8fd7c6ba1c4ed8cd6e27cb8b1b04f48694a4f1ff 100644
--- a/ipaserver/plugins/schema.py
+++ b/ipaserver/plugins/schema.py
@@ -399,7 +399,8 @@ class topic_(MetaObject):
                         continue
                     if topic_value is not None:
                         topic_name = unicode(topic_value)
-                        topic['topic_topic'] = topic_full_name
+                        topic['topic_topic'] = '{}/{}'.format(topic_name,
+                                                              topic_version)
                     else:
                         topic.pop('topic_topic', None)
 
-- 
2.7.4

-- 
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