Bug 50498 - AppCenter: one shot schema registration for installation (and re-installation ...)
AppCenter: one shot schema registration for installation (and re-installation...
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-11-14 12:50 CET by Felix Botner
Modified: 2020-03-09 11:33 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2019-11-14 12:50:30 CET
Seems that the schema registration is triggered only once per app, even if the app is removed and re-installed.

install with failure during registration

* installation of app
* ldap schema registration
* ldap_extensions listener is triggerd, schema registation fails
* now, the app is removed from the appcenter, but not the schema 
  (which is good, we do not remove ldap schemas)

re-installation

* but as one tries to install the app again, the ldap schema registration 
  does not trigger the ldap_extensions listener (the ldap object for the
  schema already exists and is not changed in a way, that the listener
  handler is triggered)

Workaround, remove the settings/ldapschema object (but that is not the solution!)