Project

General

Profile

Actions

Bug #7356

closed

Correct a warning in rudder compilation

Added by François ARMAND about 9 years ago. Updated about 9 years ago.

Status:
Released
Priority:
2
Category:
Architecture - Code maintenance
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The warning is real and may lead to a runtime error:

is is likely due to an implementation restriction: an annotation argument cannot refer to a member of the annotated class (SI-7014).
[WARNING] /home/fanf/java/workspaces/rudder-project/rudder/rudder-web/src/main/scala/com/normation/rudder/appconfig/ConfigService.scala:225: warning: match may not be exhaustive.
[WARNING] It would fail on the following input: Empty
[WARNING] toInt(get("agent_run_interval")) match {
[WARNING] ^


Subtasks 1 (0 open1 closed)

Bug #7365: There is scala compilation warning in Rudder 3.0ReleasedNicolas CHARLES2015-11-03Actions
Actions #1

Updated by François ARMAND about 9 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/947
Actions #2

Updated by François ARMAND about 9 years ago

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

Updated by Vincent MEMBRÉ about 9 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.20, 2.11.17, 3.0.12 and 3.1.5 which were released today.

Actions

Also available in: Atom PDF