Project

General

Profile

Bug #21899

Updated by Alexis Mousset over 1 year ago

<pre> 
       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 
 </pre> 

 The problem is that it does not call the @indent@ implicit but the "new Java method":https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html#indent(int) introduced in Java 12 which has a different behavior.

Back