Project

General

Profile

Actions

Bug #3687

closed

The deletion of a Technique version used by a Directive will throw an error 'NoSuchElementError'

Added by Nicolas CHARLES over 9 years ago. Updated about 9 years ago.

Status:
Released
Priority:
4
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Regression:

Description

When for some reason a Technique version is no more available, but used in a Directive, we have the dreaded "Server cannot be contacted at this time" with a stacktrace saying
java.util.NoSuchElementException: key not found: 2.0
at scala.collection.MapLike$class.default(MapLike.scala:228) ~[na:na]

I encouterned it on Rudder 2.7, but it may happen happen before

Note :it's really because I deleted from the filesystem the technique version.

Actions #1

Updated by Nicolas CHARLES over 9 years ago

  • Category set to Web - Config management
Actions #2

Updated by François ARMAND over 9 years ago

  • Assignee set to François ARMAND
Actions #3

Updated by François ARMAND about 9 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Priority changed from N/A to 4
  • Target version set to 2.7.7
Actions #4

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 #7

Updated by Nicolas PERRON about 9 years ago

  • Target version changed from 2.7.7 to 2.7.6
Actions #8

Updated by Nicolas PERRON about 9 years ago

  • Subject changed from NoSuchElementError when a version of technique is no more available for a directive to NoSuchElementError when a version of Technique is no more available for a Directive
Actions #9

Updated by Nicolas PERRON about 9 years ago

  • Subject changed from NoSuchElementError when a version of Technique is no more available for a Directive to The deletion of a Technique version used by a Directive will throw an error 'NoSuchElementError'
Actions #10

Updated by Nicolas PERRON about 9 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.7.6, which was released today.
Check out:

Actions

Also available in: Atom PDF