Bug 45941 - 72_udm-extensions/32_file_integrity_udm_module fails due to broken mimetype detection in Base64Bzip2XML
72_udm-extensions/32_file_integrity_udm_module fails due to broken mimetype d...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 4.3
Other Linux
: P5 normal (vote)
: UCS 4.3
Assigned To: Florian Best
Johannes Keiser
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-22 12:13 CET by Florian Best
Modified: 2018-03-14 14:37 CET (History)
1 user (show)

See Also:
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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2017-12-22 12:13:59 CET
72_udm-extensions/32_file_integrity_udm_module fails:
[2017-12-20 11:36:58.310239] E: Invalid Syntax: UMC registration data: Not Base64 encoded XML data: QlpoOTFBWSZTWbfyBCYAAD9/gAQ0BABQB/hHjQIGAC+v3+AwAQWENFP1JDE0aaAY8qHqeoGgDVHhRMCaYTARg0hp6QJRNGoMSajyeqBkaAD1HqTk2gIUQAFAJfpeljnEYvjjbVRmlvu8uARSxSiMGdeQAKulYEJ33Blvw21XwfKivNNCwMvfAU2VsuQkiLNL1CA1q6szYwkQnjgc8NUwD1Bx6BAsgDQp/D5MzZ8dQZJzFUYssmyjUgkHsHINgxpXhslRb7yiKGSFluvMCmHD8OpGpllEiGm+M3jdqoFySHJNLtY76phR0CxuENXdgrgqH80d5hJ0FU4lAgHWMkAkcewNFPdtJg9eXMqlp5yzuZMToHTtVOB/F3JFOFCQt/IEJg==

The syntax class Base64Bzip2XML makes a mime type detection. Detected is text/xml instead of application/xml in the newer version.
Comment 1 Florian Best univentionstaff 2017-12-22 12:22:16 CET
changelog-4.3-0.xml
ca878ab9c7c1 | Bug #45941: changelog

univention-directory-manager-modules (13.0.1-1)
8ae7cb2275e8 | Bug #45941: fix mimetype check in Base64Bzip2XML
Comment 2 Johannes Keiser univentionstaff 2018-02-15 16:25:17 CET
OK Test is green
OK code
-> verified
Comment 3 Stefan Gohmann univentionstaff 2018-03-14 14:37:58 CET
UCS 4.3 has been released:
 https://docs.software-univention.de/release-notes-4.3-0-en.html
 https://docs.software-univention.de/release-notes-4.3-0-de.html

If this error occurs again, please use "Clone This Bug".