Bug #14245
closed
Error when creating a rule
Added by Nicolas CHARLES almost 6 years ago.
Updated almost 6 years ago.
Severity:
Major - prevents use of part of Rudder | no simple workaround
User visibility:
First impressions of Rudder
Effort required:
Very Small
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
- Target version set to 5.0.6
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)
- Status changed from New to In progress
- Assignee set to François ARMAND
- 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
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Status changed from Pending technical review to Pending release
- Target version changed from 5.0.6 to 5.0.5
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.5 which was released today.
Changelog
Also available in: Atom
PDF