Project

General

Profile

Actions

Bug #23090

closed

Multiline string in component name or value breaks pattern comparison for expected report

Added by François ARMAND over 1 year ago. Updated over 1 year ago.

Status:
Released
Priority:
N/A
Category:
Web - Compliance & node report
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

If we have a component with the expected value:

${list_failed_login.sanitized_content} list of failed login

And the returned value:

 nicarles ssh:notty    Tue Jul 18 21:53:59 2023 - Tue Jul 18 21:53:59 2023  (00:00)     192.168.254.30                     
 nicarles ssh:notty    Tue Jul 18 21:53:56 2023 - Tue Jul 18 21:53:56 2023  (00:00)     192.168.254.30                     
 nicolas. ssh:notty    Tue Jul 18 21:53:52 2023 - Tue Jul 18 21:53:52 2023  (00:00)     192.168.254.30                     
 nicolas. ssh:notty    Tue Jul 18 21:53:47 2023 - Tue Jul 18 21:53:47 2023  (00:00)     192.168.254.30                     
 nicolas. ssh:notty    Tue Jul 18 21:53:39 2023 - Tue Jul 18 21:53:39 2023  (00:00)     192.168.254.30                     
 nicolas. ssh:notty    Tue Jul 18 21:53:36 2023 - Tue Jul 18 21:53:36 2023  (00:00)     192.168.254.30 list of failed login

It breaks reports:


Files

clipboard-202307191240-o9wef.png (122 KB) clipboard-202307191240-o9wef.png François ARMAND, 2023-07-19 12:40

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #22388: Bad report maching when reportid are presentReleasedVincent MEMBRÉActions
Actions #1

Updated by François ARMAND over 1 year ago

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

Updated by François ARMAND over 1 year 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/4900
Actions #3

Updated by François ARMAND over 1 year ago

  • Related to Bug #22388: Bad report maching when reportid are present added
Actions #4

Updated by Anonymous over 1 year ago

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

Updated by Nicolas CHARLES over 1 year ago

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

Updated by Vincent MEMBRÉ over 1 year ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.2.9 and 7.3.4 which were released today.

Actions

Also available in: Atom PDF