Project

General

Profile

Actions

Bug #7360

closed

Architecture #6948: Merge cf-clerk into Rudder

Exception: Exception caught during polcy update process: empty.max

Added by François ARMAND over 8 years ago. Updated over 8 years ago.

Status:
Released
Priority:
1
Category:
Web - Compliance & node report
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When generating promise, we get "Exception caught during polcy update process: empty.max".

This is due to an uncheck list size in PrepareTemplateVarialbe

    def formatUsebundle(x:Seq[(Technique, String, Bundle)]) = {
       // max not possible
      val alignWidth = x.map(_._2.size).max  
      x.map { case (t, promiser, bundle) => s""""${promiser}"${" "*Math.max(0, alignWidth - promiser.size)} usebundle => ${bundle.name};"""}.mkString( "\n")
    }
Actions #1

Updated by François ARMAND over 8 years ago

  • Category set to Web - Compliance & node report
  • Status changed from New to In progress
  • Assignee set to François ARMAND
  • Priority changed from N/A to 1
  • Target version set to 3.2.0~beta1
Actions #2

Updated by François ARMAND over 8 years ago

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

Updated by François ARMAND over 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #5

Updated by Vincent MEMBRÉ over 8 years ago

  • Parent task set to #6948
Actions #6

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.2.0~beta1 which was released today.

Actions

Also available in: Atom PDF