Project

General

Profile

Bug #16014

Change validation does not compile with latest version

Added by Vincent MEMBRÉ 8 months ago. Updated 6 months ago.

Status:
Released
Priority:
N/A
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

Compilation fails in rudder 5.0.15 on change validation plugin because of our switch to value class for Id classes (NoeId, DirectiveId ...)

with the following error:

Parameter type in structural refinement may not refer to a user-defined value classdef

It's because structural types (type created on demand like here

 def treenode = new TreeNode { }

has member using a value class as parameter

def DirectiveChildren(directiveId : DirectiveId)

changing to a class instead of def in treenode fix the issue

#1

Updated by Vincent MEMBRÉ 8 months ago

  • Status changed from New to In progress
#2

Updated by Vincent MEMBRÉ 8 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-plugins/pull/199
#3

Updated by Vincent MEMBRÉ 8 months ago

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

Updated by Vincent MEMBRÉ 6 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0-1.4 which was released today.

Also available in: Atom PDF