Univention Bugzilla – Bug 33728
Rename App ID for Tine 2.0
Last modified: 2014-04-09 08:26:27 CEST
The vendor for Tine 2.0 requested to rename the App ID for Tine 2.0 from "tine20org" to "tine20" to represent the commercial and not the community product. The App ID appears in several UCR variables in UCS and in the URL in the App catalogue. See Ticket#: 2013102421001372
Please note Bug #34149 comment #1
Created attachment 5802 [details] Rename tine20org to tine20 Unregisters tine20org in UCR and removes it from LDAP. Registers tine20 in UCR and adds it to LDAP. Done by hacking the id in the newly created script univention-rename-app. Components may stay the way they are. But *all* UCS 3.2 "ID=tine20org" ini files need to be changed (not renamed!) to have ID=tine20. This is better done at the same time (publishing this errata and updating the ini files).
Created attachment 5803 [details] Rename tine20org to tine20 Forgot to "svn add" the new script before the "svn diff". BTW: I do not see how this would affect reporting. But I leave this as an exercise for the QA...
Renaming is done in univention-management-console-module-appcenter 3.0.51-5.239.201403171157
Reminder: Change the ini files once this is published. And do it quickly!
I changed the ID in the tine INI-files in appcenter.test OK - install tine20org on UCS 3.2-1 DN: univentionAppID=tine20org_2013.10.1,cn=tine20org,cn=apps,... - update - switch to appcenter.test (tine20) OK - rename during update OK - installed applications -> Tine20 OK - open appcenter OK - component still tine20org - After all that i have DN: univentionAppID=tine20_2013.10.1,cn=tine20,cn=apps,... Fail - install tine20org on UCS 3.2-1 - switch to appcenter.test (tine20) FAIL - open appcenter (creates a second tine app) DN: univentionAppID=tine20org_2013.10.1,cn=tine20org,cn=apps,... DN: univentionAppID=tine20_2013.10.1,cn=tine20,cn=apps,... FAIL - installed applications -> Tine20 (can't open app)
(In reply to Felix Botner from comment #6) > Fail > - install tine20org on UCS 3.2-1 > - switch to appcenter.test (tine20) > FAIL - open appcenter (creates a second tine app) > DN: univentionAppID=tine20org_2013.10.1,cn=tine20org,cn=apps,... > DN: univentionAppID=tine20_2013.10.1,cn=tine20,cn=apps,... > FAIL - installed applications -> Tine20 (can't open app) As dicussed: This is annoying but not a blocker. Please verify: - switch to appcenter.test (tine20) -> installing "Tine 2.0" does not create any tine20org variables - install tine20org on UCS 3.2-1 - switch to appcenter.test (tine20) -> while the user may not see any further updates, at least tine20 is marked as installed - update (umc-appcenter) -> all tine20org remains should be gone -> installed apps / "Tine 2.0" can be accessed again
(In reply to Dirk Wiesenthal from comment #7) > > As dicussed: This is annoying but not a blocker. Please verify: > > - switch to appcenter.test (tine20) > -> installing "Tine 2.0" does not create any tine20org variables OK > > - install tine20org on UCS 3.2-1 > - switch to appcenter.test (tine20) > -> while the user may not see any further updates, at least tine20 is > marked as installed > - update (umc-appcenter) > -> all tine20org remains should be gone > -> installed apps / "Tine 2.0" can be accessed again OK But if the server can't reach the appcenter, then i get univention-management-console-module-appcenter (3.0.51-8.242.201403211327) wird eingerichtet ... Reloading Univention Management Console Server. done. Not updating repository/app_center/server univention-rename-app did not succeed.
App is renamed in postinst and every time the App Center module is opened. This required some code movement from one file to another. I hope it still works... Fixed in univention-management-console-module-appcenter 3.0.51-9.243.201404031512
OK - new installation (tine20) OK - rename with network (tine20org -> tine20, master and slave) OK - rename without network (tine20org -> tine20, master and slave) app was renamed during opening the App Center module OK - YAML !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !Reminder: Change the ini files once this is published. And do it quickly! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
http://errata.univention.de/ucs/3.2/86.html