Actions
Bug #14245
closedError when creating a rule
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
First impressions of Rudder
Effort required:
Very Small
Priority:
128
Name check:
Fix check:
Regression:
Description
When I try to create a rule, i get an error message saying that a rule with same name exists
If i refresh the page, the rule is created.
Files
Updated by François ARMAND almost 6 years ago
Log tells:
[2019-01-29 11:06:11] ERROR net.liftweb.http.LiftRules - Exception being returned to browser when processing /lift/ajax/F765881636879KZV5NX-40/ java.util.NoSuchElementException: key not found: showEditForm at scala.collection.immutable.Map$Map2.apply(Map.scala:135) at com.normation.rudder.web.snippet.configuration.RuleManagement.editRule(RuleManagement.scala:153) at com.normation.rudder.web.snippet.configuration.RuleManagement.onCreateRule(RuleManagement.scala:163) at com.normation.rudder.web.snippet.configuration.RuleManagement.$anonfun$viewRules$2(RuleManagement.scala:125) at com.normation.rudder.web.components.popup.CreateOrCloneRulePopup.onSubmit(CreateRulePopup.scala:209) at com.normation.rudder.web.components.popup.CreateOrCloneRulePopup.$anonfun$popupContent$11(CreateRulePopup.scala:115) at net.liftweb.http.S$NFuncHolder.$anonfun$apply$3(S.scala:184) at scala.collection.immutable.List.map(List.scala:283) at net.liftweb.http.S$NFuncHolder.apply(S.scala:184) at net.liftweb.http.S$ProxyFuncHolder.apply(S.scala:113) at net.liftweb.http.LiftSession.$anonfun$runParams$8(LiftSession.scala:600) at net.liftweb.http.LiftSession.$anonfun$runParams$17(LiftSession.scala:613) at scala.collection.immutable.List.map(List.scala:287) at net.liftweb.http.LiftSession.$anonfun$runParams$13(LiftSession.scala:613) at scala.collection.immutable.List.flatMap(List.scala:335) at net.liftweb.http.LiftSession.runParams(LiftSession.scala:603) at net.liftweb.http.LiftServlet.liftedTree2$1(LiftServlet.scala:609)
Updated by François ARMAND almost 6 years ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND almost 6 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/2127
Updated by Rudder Quality Assistant almost 6 years ago
- Assignee changed from Vincent MEMBRÉ to François ARMAND
Updated by François ARMAND almost 6 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|941ce27bca940b77cc8741ed31f9906c669e4256.
Updated by François ARMAND almost 6 years ago
- Target version changed from 5.0.6 to 5.0.5
Updated by Alexis Mousset almost 6 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.5 which was released today.
Changelog
Actions