Actions
Bug #16014
closedChange validation does not compile with latest version
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
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
Updated by Vincent MEMBRÉ about 5 years ago
- Status changed from New to In progress
Updated by Vincent MEMBRÉ about 5 years 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
Updated by Vincent MEMBRÉ about 5 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder:rudder-plugins|1aec4c990f492e823f6ff87a1c8eedb7b49cc482.
Updated by Vincent MEMBRÉ about 5 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0-1.4 which was released today.
Actions