Univention Bugzilla – Bug 42231
Migrate ucs-overview entries to new 4.2 portal entries
Last modified: 2017-04-04 18:29:47 CEST
We will need to migrate UCR variable entries for ucs-overview page to new UCS 4.2 portal entries.
*** Bug 37897 has been marked as a duplicate of this bug. ***
Ideas regarding this was: a listener module which looks for objectType=univentionApp changes triggers in the postrun() a scripts which writes a static json file. This json file is fetched in the portal via requirement "umc/json!/univention/portal/entries.json". The whole anonymous UMC module can and should for performance reasons be removed (it takes at least 1 second to make the connection to the module process which costs time in rendering).
We need some sort of documentation for ISVs in order to let them know how to migrate from UCR variables to LDAP entries.
Using the UCR module of Bug#42234 to migrate all existing variables.
When opening the module there is a pop up: Die folgenden leeren Eigenschaften wurdem im Formular auf Vorgabewerte gesetzt. Die Werte werden beim Speichern angewendet. Allgemein - Erweitert - Authorisation: Visible for Admins only Can you set a default value? Or add an empty value if possible.
(In reply to Florian Best from comment #5) > When opening the module there is a pop up: > > Die folgenden leeren Eigenschaften wurdem im Formular auf Vorgabewerte > gesetzt. Die Werte werden beim Speichern angewendet. > Allgemein - Erweitert - Authorisation: Visible for Admins only > > Can you set a default value? Or add an empty value if possible. → This is part of Bug #42175
reopen: * the ucs master overview entry from other roles is converted as-is, so the link to the master is limited to the portal cn=domain,cn=portal,, but i think it should be the local portal... Maybe we could filter out the old overview variables, and set a better link on local portals? r77283 35univention-portal.inst * The naming of all UMC links should be tuned. DC-Master and local UMC links do not differ enough in my opinion "System- and domain settings" and "System settings" - and the long description is too long to fit into its area. Also recheck the translations for local umc link
Would it be possible to ignore the following UCR overview variables, as well: ucs/web/overview/entries/service/passwordreset.* ucs/web/overview/entries/service/passwordchange.*
(In reply to Erik Damrose from comment #7) > reopen: > > * the ucs master overview entry from other roles is converted as-is, so the > link to the master is limited to the portal cn=domain,cn=portal,, but i > think it should be the local portal... Maybe we could filter out the old > overview variables, and set a better link on local portals? Fixed in r77553. I guess. If not, please point me to a portal where this happens. > > r77283 35univention-portal.inst > * The naming of all UMC links should be tuned. DC-Master and local UMC links > do not differ enough in my opinion "System- and domain settings" and "System > settings" - and the long description is too long to fit into its area. Also > recheck the translations for local umc link Fixed translation. I open a new bug for the CSS, because this is generic to the portal. (In reply to Alexander Kläser from comment #8) > Would it be possible to ignore the following UCR overview variables, as well: > ucs/web/overview/entries/service/passwordreset.* > ucs/web/overview/entries/service/passwordchange.* Done.
I fixed the cleanup so that the french variables are also removed: univention-self-service (2.0.9-7): r77693 | Bug #42231: remove obsolete UCR entries r77692 | Bug #42231: remove obsolete UCR entries univention-management-console (9.0.61-2): r77691 | Bug #42231: remove obsolete entries
OK: master overview links OK: translation OK: ignore passwordreset passwordchange In the future, please name the new bug number if you create a follow up/split bug, makes tracking a lot easier Verified
BTW: During the upgrade to UCS 4.2 I see: Unsetting ucs/web/overview/entries/admin/umc/label Unsetting ucs/web/overview/entries/admin/umc/label/de Unsetting ucs/web/overview/entries/admin/umc/description Unsetting ucs/web/overview/entries/admin/umc/description/de Script: /etc/univention/templates/scripts/ucs-school-ucr-l10n-fr File: /var/www/univention/meta.json Module: create_portal_entries Traceback (most recent call last): File "/usr/share/univention-directory-manager-tools/univention-cli-server", line 222, in doit output = univention.admincli.admin.doit(arglist) File "/usr/lib/pymodules/python2.7/univention/admincli/admin.py", line 406, in doit out = _doit(arglist) File "/usr/lib/pymodules/python2.7/univention/admincli/admin.py", line 534, in _doit co = univention.admin.config.config(configRegistry['ldap/master']) File "/usr/lib/pymodules/python2.7/univention/admin/config.py", line 40, in __init__ base = univention.admin.uldap.getBaseDN(host) File "/usr/lib/pymodules/python2.7/univention/admin/uldap.py", line 136, in getBaseDN result = lo.search_s('', ldap.SCOPE_BASE, 'objectClass=*', ['NamingContexts']) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 559, in search_s return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 920, in search_ext_s return self._apply_method_s(SimpleLDAPObject.search_ext_s,*args,**kwargs) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 867, in _apply_method_s self.reconnect(self._uri,retry_max=self._retry_max,retry_delay=self._retry_delay) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 832, in reconnect self._apply_last_bind() File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 805, in _apply_last_bind SimpleLDAPObject.simple_bind_s(self,'','') File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 214, in simple_bind_s msgid = self.simple_bind(who,cred,serverctrls,clientctrls) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 208, in simple_bind return self._ldap_call(self._l.simple_bind,who,cred,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls)) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 106, in _ldap_call result = func(*args,**kwargs) SERVER_DOWN: {'desc': "Can't contact LDAP server"}
This bug is already verified. If you think it is worth reopening, go ahead. Or create a new bug.
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".