Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #20866: Correct parsing of id in software updates #4199

Conversation

VinceMacBuche
Copy link
Member

@VinceMacBuche VinceMacBuche requested a review from fanf March 8, 2022 14:11
@@ -944,7 +944,7 @@ class FusionInventoryParser(
d = optText(e \ "DESCRIPTION")
sev = optText(e \ "SEVERITY" ).map(SoftwareUpdateSeverity.parse)
date = optText(e \ "DATE")
ids = (e \ "ID").map(_.text).toList
ids = (e \ "ID").toList.flatMap(_.text.split(","))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

;(

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I gave up on perl/fusion

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw, this fix also support the old format ;) So when you'll be brave enough to fight with fusion .... :D

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit f11be71 into Normation:branches/rudder/7.1 Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants