Project

General

Profile

Bug #14245

Error when creating a rule

Added by Nicolas CHARLES 7 months ago. Updated 7 months ago.

Status:
Released
Priority:
N/A
Category:
Web - UI & UX
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
User visibility:
First impressions of Rudder
Effort required:
Very Small
Priority:
128

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

Capture du 2019-01-29 11-53-50.png (23.9 KB) Capture du 2019-01-29 11-53-50.png Nicolas CHARLES, 2019-01-29 11:54

Associated revisions

Revision 941ce27b (diff)
Added by François ARMAND 7 months ago

Fixes #14245: Error when creating a rule

History

#1

Updated by Nicolas CHARLES 7 months ago

  • Target version set to 5.0.6
#2

Updated by François ARMAND 7 months 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)

#3

Updated by François ARMAND 7 months ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
#4

Updated by François ARMAND 7 months 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
#5

Updated by Rudder Quality Assistant 7 months ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND
#6

Updated by François ARMAND 7 months ago

  • Status changed from Pending technical review to Pending release
#7

Updated by François ARMAND 7 months ago

  • Target version changed from 5.0.6 to 5.0.5
#8

Updated by Alexis MOUSSET 7 months ago

  • 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