Bug #3687
closedThe deletion of a Technique version used by a Directive will throw an error 'NoSuchElementError'
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.
Updated by Nicolas CHARLES over 9 years ago
- Category set to Web - Config management
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
Pull Request here: https://github.com/Normation/rudder/pull/371
Updated by François ARMAND about 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset 8f47326e5a2545057a8ce4e67b4b75475e55124c.
Updated by François ARMAND about 9 years ago
Applied in changeset 7734809290eb3275167f03703e334f221fd2acf7.
Updated by Nicolas CHARLES about 9 years ago
Applied in changeset b0c7becc717d1535bf762742ac2572f75f8a5572.
Updated by Nicolas PERRON about 9 years ago
- Target version changed from 2.7.7 to 2.7.6
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
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'
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:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2013-November/000063.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog27
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/