Actions
Bug #7360
closedArchitecture #6948: Merge cf-clerk into Rudder
Exception: Exception caught during polcy update process: empty.max
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Web - Compliance & node report
Target version:
Pull Request:
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