Project

General

Profile

Actions

Bug #23701

closed

Software DAO can lead to NoSuchElement exception

Added by François ARMAND 6 months ago. Updated 5 months ago.

Status:
Released
Priority:
N/A
Category:
Architecture - Code maintenance
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

In ReadOnlySoftwareDAOImpl#getSoftwareByNode we have a direct request to map by key without checking for the case when the key is not in map, leading to NoSuchElement exception and unknows app state.

The occurence may be rare, in my case it was triggered by CVE plugins in - I think - a software that was deleted on the node.

Actions #1

Updated by François ARMAND 6 months ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #2

Updated by François ARMAND 6 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/5161
Actions #3

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 7.3.9 to 7.3.10
Actions #4

Updated by Anonymous 6 months ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Clark ANDRIANASOLO 5 months ago

  • Fix check changed from To do to Checked
Actions #6

Updated by Vincent MEMBRÉ 5 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.3.10 and 8.0.4 which were released today.

Actions

Also available in: Atom PDF