Project

Profile

Help

Issue #1782

closed

<reboot_suggested>None</reboot_suggested> in generated XML for unit with no 'reboot_suggested'

Added by rmcgover about 8 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
-
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.

Also available in: Atom PDF