Project

General

Profile

Actions

Bug #14245

closed

Error when creating a rule

Added by Nicolas CHARLES almost 6 years ago. Updated almost 6 years ago.

Status:
Released
Priority:
N/A
Category:
Web - UI & UX
Target version:
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

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

Updated by Nicolas CHARLES almost 6 years ago

  • Target version set to 5.0.6
Actions #2

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)

Actions #3

Updated by François ARMAND almost 6 years ago

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

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

Updated by Rudder Quality Assistant almost 6 years ago

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

Updated by François ARMAND almost 6 years ago

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

Updated by François ARMAND almost 6 years ago

  • Target version changed from 5.0.6 to 5.0.5
Actions #8

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

Also available in: Atom PDF