Actions
Issue #1782
closed<reboot_suggested>None</reboot_suggested> in generated XML for unit with no 'reboot_suggested'
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
2.8.3
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 1
Quarter:
Description
If a unit is imported with no top-level 'reboot_suggested' element, then published with yum distributor, the resulting update in updateinfo.xml will contain:
<reboot_suggested>None</reboot_suggested>
This is dangerous as it's unclear whether consumers would interpret that as true or false.
It would be safer to omit this element from the XML if the unit doesn't specify a value for reboot_suggested.
Actions
1782 - reboot_suggested is False by default if during unit upload there was not specified any value.
closes #1782 https://pulp.plan.io/issues/1782