Project

General

Profile

Actions

Bug #13232

closed

Bug #13202: error message in output of rudder 4.3 - 'default:_log_v3.class_prefix' contains a reference to itself, '${class_prefix}'

No report for package_present (and all those using ncf_package method) du to early evaluation of default

Added by Nicolas CHARLES over 6 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

Since parent ticket, there is no report for some packages methods, like package_present

issue is the inner_class_prefix defined in calling method does not use the defaults stated in called method
So if I call package_present("tree", "1.7.0-5", "", ""), ncf_package method will define ncf_package_tree_1_7_0_5_default_apt_get_present__kept rather than the expected ncf_package_tree_1_7_0_5___present__kept

Actions #1

Updated by Nicolas CHARLES over 6 years ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #2

Updated by Nicolas CHARLES over 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/ncf/pull/808
Actions #3

Updated by Nicolas CHARLES over 6 years ago

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

Updated by Vincent MEMBRÉ about 6 years ago

  • Status changed from Pending release to Released
This bug has been fixed in Rudder 4.3.5 and 5.0.1 which were released today.
Changelog
Changelog
Actions

Also available in: Atom PDF