Bug 34809

Summary: UCR uuid/license should be unset if license without key-id is imported
Product: UCS Reporter: Janis Meybohm <meybohm>
Component: LicenseAssignee: Felix Botner <botner>
Status: CLOSED FIXED QA Contact: Janek Walkenhorst <walkenhorst>
Severity: normal    
Priority: P5 CC: gohmann, jmm
Version: UCS 3.2   
Target Milestone: UCS 3.2-2-errata   
Hardware: Other   
OS: Linux   
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): Usability
Max CVSS v3 score:
Bug Depends on:    
Bug Blocks: 35901    

Description Janis Meybohm univentionstaff 2014-05-12 14:25:58 CEST
2014051221009038
http://forum.univention.de/viewtopic.php?f=48&t=3198&p=11228

If a license with key-id is added, the key-id is written to UCR uuid/license.
If a license without key-id is imported afterwards, the app center complains about the missing key-id, asks the user to request a new one but refuses to import is due to the key-id already set in uuid/license.

If a license without a key-id is imported, the UCR variable uuid/license should be unset.
Comment 1 Felix Botner univentionstaff 2014-06-18 10:25:39 CEST
univention-updater license_uuid.py listener now removes uuid/license if univentionLicenseKeyID is not set.

YAML: 2014-06-18-univention-updater.yaml
Comment 2 Janek Walkenhorst univentionstaff 2014-07-01 16:51:23 CEST
Code: OK
Tests: OK
Advisory: OK
Comment 3 Moritz Muehlenhoff univentionstaff 2014-07-08 16:12:33 CEST
http://errata.univention.de/ucs/3.2/137.html