Bug 35901

Summary: UCR uuid/license should be unset if license without key-id is imported
Product: UCS Test Reporter: Stefan Gohmann <gohmann>
Component: UpdaterAssignee: UCS maintainers <ucs-maintainers>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P5 CC: gohmann, jmm, meybohm
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
What kind of report is it?: Development Internal 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: 34809    
Bug Blocks:    

Description Stefan Gohmann univentionstaff 2014-09-11 14:49:26 CEST
Please check if a test case is possible.

+++ This bug was initially created as a clone of Bug #34809 +++

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.