Actions
Bug #15004
closedStack overflow error when using invalid JS
Status:
Rejected
Priority:
N/A
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Priority:
67
Name check:
Fix check:
Regression:
Description
I used this JS expression for motd
"This node is managed by Rudder, it's hostname is ${rudder.node.hostname} and hashing it is "+ rudder.hash.md5(${rudder.node.hostname})
this caused Rudder to shut down, because of
rudder.hash.md5(RDR-TST-RandHost596.rudder.local)' for Variable MOTD - please check method call and/or syntax; ReferenceError: "RDR" is not defined in <eval> at line number 2 <- Error with p arameters expansion for node 'RDR-TST-RandHost150.rudder.local' (91dc8c60-2174-4f58-8869-ce3314ad7c27): When processing directive 'MOTD and pre-login banner': Invalid script 'evaljs:"This no de is managed by Rudder, it's hostname is RDR-TST-RandHost150.rudder.local and hashing it is "+ rudder.hash.md5(RDR-TST-RandHost150.rudder.local)' for Variable MOTD - please check method call and/or syntax; ReferenceError: "RDR" is not defined in <eval> at line number 2 [2019-05-31 10:01:58] ERROR net.liftweb.actor.ActorLogger - Actor threw an exception java.lang.StackOverflowError: null at net.liftweb.common.Failure.exceptionChain(Box.scala:971) at net.liftweb.common.Failure.$anonfun$exceptionChain$2(Box.scala:978) at scala.collection.immutable.List.flatMap(List.scala:334) at net.liftweb.common.Failure.exceptionChain(Box.scala:978) at net.liftweb.common.Failure.$anonfun$exceptionChain$2(Box.scala:978) at scala.collection.immutable.List.flatMap(List.scala:334) at net.liftweb.common.Failure.exceptionChain(Box.scala:978) at net.liftweb.common.Failure.$anonfun$exceptionChain$2(Box.scala:978) at scala.collection.immutable.List.flatMap(List.scala:334) at net.liftweb.common.Failure.exceptionChain(Box.scala:978) at net.liftweb.common.Failure.$anonfun$exceptionChain$2(Box.scala:978) at scala.collection.immutable.List.flatMap(List.scala:334) at net.liftweb.common.Failure.exceptionChain(Box.scala:978) at net.liftweb.common.Failure.$anonfun$exceptionChain$2(Box.scala:978) at scala.collection.immutable.List.flatMap(List.scala:334) at net.liftweb.common.Failure.exceptionChain(Box.scala:978) at net.liftweb.common.Failure.$anonfun$exceptionChain$2(Box.scala:978)
errors should nicely accumulate
Updated by Vincent MEMBRÉ about 5 years ago
- Target version changed from 5.0.12 to 5.0.13
Updated by Vincent MEMBRÉ almost 5 years ago
- Target version changed from 5.0.13 to 5.0.14
Updated by François ARMAND almost 5 years ago
- Assignee set to François ARMAND
- Severity set to Major - prevents use of part of Rudder | no simple workaround
- User visibility set to Operational - other Techniques | Rudder settings | Plugins
- Priority changed from 0 to 50
Updated by François ARMAND almost 5 years ago
- Status changed from New to In progress
Updated by François ARMAND almost 5 years ago
- Status changed from In progress to New
- Assignee changed from François ARMAND to Nicolas CHARLES
I can't reproduce it in 5.0.14, is it still present Nicolas? If so, how did you reproduced it?
Updated by Vincent MEMBRÉ almost 5 years ago
- Target version changed from 5.0.14 to 5.0.15
- Priority changed from 50 to 49
Updated by François ARMAND almost 5 years ago
- Effort required set to Very Small
- Priority changed from 49 to 75
very small for reproduction instruction
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 5.0.15 to 5.0.16
- Priority changed from 75 to 74
Updated by Alexis Mousset over 4 years ago
- Target version changed from 5.0.16 to 5.0.17
- Priority changed from 74 to 71
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 5.0.17 to 5.0.18
- Priority changed from 71 to 69
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 5.0.18 to 5.0.19
- Priority changed from 69 to 67
Updated by Nicolas CHARLES about 4 years ago
- Status changed from New to Rejected
Error is correct now.
Rejecting
Actions