Project

General

Profile

Actions

Bug #21899

closed

Broken technique indentation with jvm >= 12

Added by Alexis Mousset 2 months ago. Updated about 2 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Regression:
No

Description

      105.   $class = "cfengine-community" 
      106.   if ($localContext.Evaluate($class)) {
      107.     $call = Command-Execution -Command "/bin/echo `"testing special characters ` è &é 'à é `"\" -PolicyMode $policyMode
    + 108.         $methodContext = Compute-Method-Call @reportParams -MethodCall $call
    - 105.     $methodContext = Compute-Method-Call @reportParams -MethodCall $call
      109.     $localContext.merge($methodContext)
    + 110. 
      111.   } else {
      112.     Rudder-Report-NA @reportParams

The problem is that it does not call the indent implicit but the new Java method introduced in Java 12 which has a different behavior.

Actions #1

Updated by Alexis Mousset 2 months ago

  • Status changed from New to In progress
Actions #2

Updated by Alexis Mousset 2 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/4526
Actions #3

Updated by Alexis Mousset 2 months ago

  • Description updated (diff)
Actions #4

Updated by Alexis Mousset 2 months ago

  • Description updated (diff)
Actions #5

Updated by Alexis Mousset 2 months ago

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

Updated by Vincent MEMBRÉ about 2 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.2.1 which was released today.

Actions

Also available in: Atom PDF