Bug 48526 - Configuring subscriptions failed if trailing whitespace in service_plan
Configuring subscriptions failed if trailing whitespace in service_plan
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Office 365
UCS 4.3
Other Mac OS X 10.1
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
Mail maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-01-24 10:21 CET by Michel Smidt
Modified: 2021-05-14 16:34 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.023
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 Michel Smidt 2019-01-24 10:21:54 CET
23.01.19 16:23:52.798  LISTENER    ( PROCESS ) : o365: Deactivating plans MCOSTANDARD , EXCHANGE_S_STANDARD, STREAM_O365_SMB, FLOW_O365_P1, SWAY, MCOSTANDARD, INTUNE_O365, YAMMER_ENTERPRISE,
POWERAPPS_O365_P1, BPOS_S_TODO_1, SHAREPOINTWAC, KAIZALA_O365_P2, PROJECTWORKMANAGEMENT, FORMS_PLAN_E1.                                                                                       
Traceback (most recent call last):
  File "/usr/lib/univention-directory-listener/system/office365-user.py", line 319, in handler
    new_or_reactivate_user(ol, dn, new, old)
  File "/usr/lib/univention-directory-listener/system/office365-user.py", line 241, in new_or_reactivate_user                                                                                 
    new_user = ol.create_user(new)
  File "/usr/lib/pymodules/python2.7/univention/office365/listener.py", line 149, in create_user                                                                                              
    self.assign_subscription(new, new_user)
  File "/usr/lib/pymodules/python2.7/univention/office365/listener.py", line 552, in assign_subscription                                                                                      
    deactivate_plan_ids = [plan_names_to_ids[plan] for plan in deactivate_plans]
KeyError: 'MCOSTANDARD '
Comment 1 Ingo Steuwer univentionstaff 2021-05-14 15:43:08 CEST
This issue has been filed against UCS 4.3.

UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.