Actions
Bug #11348
closedImpossible to save a new technique when last char in a parameter is a backslash
Status:
Resolved
Priority:
N/A
Assignee:
Category:
Web - Technique editor
Target version:
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
I get a generic error message in the interface, which is not helpful, and in the logs:
[Tue Sep 12 10:25:25.930461 2017] [wsgi:error] [pid 19007:tid 139863704770304] ERROR: Could not write technique 'toto' from path /var/rudder/configuration-repository/ncf, cause is: Error while running post-hook command /var/rudder/configuration-repository/ncf/ncf-hooks.d/post.write_technique.50_rudderify.sh /var/rudder/configuration-repository/ncf toto [Tue Sep 12 10:25:25.930807 2017] [wsgi:error] [pid 19007:tid 139863704770304] INFO: Alternative source path added: /var/rudder/configuration-repository/ncf [Tue Sep 12 10:25:25.930840 2017] [wsgi:error] [pid 19007:tid 139863704770304] ERROR: Could not parse Technique 'toto' [Tue Sep 12 10:25:25.930844 2017] [wsgi:error] [pid 19007:tid 139863704770304] caused by : Error while running post-hook command cf-promises -pjson -f /var/rudder/configuration-repository/ncf/50_techniques/toto/toto.cf [Tue Sep 12 10:25:25.930848 2017] [wsgi:error] [pid 19007:tid 139863704770304] /var/rudder/configuration-repository/ncf/50_techniques/toto/toto.cf:9:92: error: syntax error [Tue Sep 12 10:25:25.930865 2017] [wsgi:error] [pid 19007:tid 139863704770304] "method_call" usebundle => command_execution("dir C:\\"), [Tue Sep 12 10:25:25.930868 2017] [wsgi:error] [pid 19007:tid 139863704770304] ^ [Tue Sep 12 10:25:25.930896 2017] [wsgi:error] [pid 19007:tid 139863704770304] /var/rudder/configuration-repository/ncf/50_techniques/toto/toto.cf:9:92: error: Expected ',', wrong input 'any' [Tue Sep 12 10:25:25.930901 2017] [wsgi:error] [pid 19007:tid 139863704770304] "method_call" usebundle => command_execution("dir C:\\"), [Tue Sep 12 10:25:25.930905 2017] [wsgi:error] [pid 19007:tid 139863704770304] ^ [Tue Sep 12 10:25:25.930920 2017] [wsgi:error] [pid 19007:tid 139863704770304] /var/rudder/configuration-repository/ncf/50_techniques/toto/toto.cf:10:101: error: Invalid function argument, wrong input '"); [Tue Sep 12 10:25:25.930931 2017] [wsgi:error] [pid 19007:tid 139863704770304] "' [Tue Sep 12 10:25:25.930936 2017] [wsgi:error] [pid 19007:tid 139863704770304] "method_call" usebundle => command_execution("dir C:\\"), [Tue Sep 12 10:25:25.930939 2017] [wsgi:error] [pid 19007:tid 139863704770304] ^ [Tue Sep 12 10:25:25.930942 2017] [wsgi:error] [pid 19007:tid 139863704770304] /var/rudder/configuration-repository/ncf/50_techniques/toto/toto.cf:10:112: error: Expected ',', wrong input 'method_call' [Tue Sep 12 10:25:25.931016 2017] [wsgi:error] [pid 19007:tid 139863704770304] "method_call" usebundle => command_execution("dir C:\\"), [Tue Sep 12 10:25:25.931028 2017] [wsgi:error] [pid 19007:tid 139863704770304] ^ [Tue Sep 12 10:25:25.931036 2017] [wsgi:error] [pid 19007:tid 139863704770304] /var/rudder/configuration-repository/ncf/50_techniques/toto/toto.cf:10:145: error: Invalid function argument, wrong input '" usebundle => directory_absent("' [Tue Sep 12 10:25:25.931055 2017] [wsgi:error] [pid 19007:tid 139863704770304] "method_call" usebundle => command_execution("dir C:\\"), [Tue Sep 12 10:25:25.931062 2017] [wsgi:error] [pid 19007:tid 139863704770304] ^ [Tue Sep 12 10:25:25.931066 2017] [wsgi:error] [pid 19007:tid 139863704770304] /var/rudder/configuration-repository/ncf/50_techniques/toto/toto.cf:10:147: error: Expected ',', wrong input 'C:' [Tue Sep 12 10:25:25.931072 2017] [wsgi:error] [pid 19007:tid 139863704770304] "method_call" usebundle => command_execution("dir C:\\"), [Tue Sep 12 10:25:25.931083 2017] [wsgi:error] [pid 19007:tid 139863704770304] ^ [Tue Sep 12 10:25:25.931090 2017] [wsgi:error] [pid 19007:tid 139863704770304] /var/rudder/configuration-repository/ncf/50_techniques/toto/toto.cf:10:148: error: Invalid function argument, wrong input '\\' [Tue Sep 12 10:25:25.931094 2017] [wsgi:error] [pid 19007:tid 139863704770304] "method_call" usebundle => command_execution("dir C:\\"), [Tue Sep 12 10:25:25.931098 2017] [wsgi:error] [pid 19007:tid 139863704770304] ^ [Tue Sep 12 10:25:25.931103 2017] [wsgi:error] [pid 19007:tid 139863704770304] /var/rudder/configuration-repository/ncf/50_techniques/toto/toto.cf:10:152: error: Expected ',', wrong input 'toto' [Tue Sep 12 10:25:25.931106 2017] [wsgi:error] [pid 19007:tid 139863704770304] "method_call" usebundle => command_execution("dir C:\\"), [Tue Sep 12 10:25:25.931110 2017] [wsgi:error] [pid 19007:tid 139863704770304] ^ [Tue Sep 12 10:25:25.931114 2017] [wsgi:error] [pid 19007:tid 139863704770304] /var/rudder/configuration-repository/ncf/50_techniques/toto/toto.cf:10:156: error: Invalid function argument, wrong input '", "' [Tue Sep 12 10:25:25.931117 2017] [wsgi:error] [pid 19007:tid 139863704770304] "method_call" usebundle => command_execution("dir C:\\"), [Tue Sep 12 10:25:25.931121 2017] [wsgi:error] [pid 19007:tid 139863704770304] ^ [Tue Sep 12 10:25:25.931128 2017] [wsgi:error] [pid 19007:tid 139863704770304] /var/rudder/configuration-repository/ncf/50_techniques/toto/toto.cf:11:188: error: Expected ',', wrong input '"), [Tue Sep 12 10:25:25.931140 2017] [wsgi:error] [pid 19007:tid 139863704770304] ifvarclass => concat("' [Tue Sep 12 10:25:25.931150 2017] [wsgi:error] [pid 19007:tid 139863704770304] "method_call" usebundle => command_execution("dir C:\\"), [Tue Sep 12 10:25:25.931205 2017] [wsgi:error] [pid 19007:tid 139863704770304] ^ [Tue Sep 12 10:25:25.931228 2017] [wsgi:error] [pid 19007:tid 139863704770304] /var/rudder/configuration-repository/ncf/50_techniques/toto/toto.cf:11:191: error: Invalid function argument, wrong input 'any' [Tue Sep 12 10:25:25.931254 2017] [wsgi:error] [pid 19007:tid 139863704770304] "method_call" usebundle => command_execution("dir C:\\"), [Tue Sep 12 10:25:25.931269 2017] [wsgi:error] [pid 19007:tid 139863704770304] ^ [Tue Sep 12 10:25:25.931283 2017] [wsgi:error] [pid 19007:tid 139863704770304] /var/rudder/configuration-repository/ncf/50_techniques/toto/toto.cf:12:200: error: Expected ',', wrong input '"); [Tue Sep 12 10:25:25.931289 2017] [wsgi:error] [pid 19007:tid 139863704770304] "' [Tue Sep 12 10:25:25.931293 2017] [wsgi:error] [pid 19007:tid 139863704770304] "method_call" usebundle => command_execution("dir C:\\"), [Tue Sep 12 10:25:25.931304 2017] [wsgi:error] [pid 19007:tid 139863704770304] ^ [Tue Sep 12 10:25:25.931319 2017] [wsgi:error] [pid 19007:tid 139863704770304] /var/rudder/configuration-repository/ncf/50_techniques/toto/toto.cf:12:211: error: Invalid function argument, wrong input 'method_call' [Tue Sep 12 10:25:25.931322 2017] [wsgi:error] [pid 19007:tid 139863704770304] "method_call" usebundle => command_execution("dir C:\\"), [Tue Sep 12 10:25:25.931326 2017] [wsgi:error] [pid 19007:tid 139863704770304] ^ [Tue Sep 12 10:25:25.931330 2017] [wsgi:error] [pid 19007:tid 139863704770304] Too many errors [Tue Sep 12 10:25:25.931335 2017] [wsgi:error] [pid 19007:tid 139863704770304] [Tue Sep 12 10:25:25.931337 2017] [wsgi:error] [pid 19007:tid 139863704770304] Error: Unable to create Rudder Technique files related to ncf Technique toto, cannot find ncf Technique toto [Tue Sep 12 10:25:25.931338 2017] [wsgi:error] [pid 19007:tid 139863704770304] None [Tue Sep 12 10:25:25.931340 2017] [wsgi:error] [pid 19007:tid 139863704770304]
Updated by Alexis Mousset about 7 years ago
Works when changing dir C:\
to dir C:\\
.
Updated by Alexis Mousset about 7 years ago
- Subject changed from Impossible to save a new technique to Impossible to save a new technique when last char in a parameter is a backslash
Yes, it happens when a parameters ends by a backslash.
Updated by Benoît PECCATTE about 7 years ago
- Severity set to Major - prevents use of part of Rudder | no simple workaround
- User visibility set to Operational - other Techniques | Technique editor | Rudder settings
- Priority changed from 0 to 51
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from master to 4.2.2
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.2 to 4.2.3
Updated by Vincent MEMBRÉ almost 7 years ago
- Target version changed from 4.2.3 to 4.2.4
- Priority changed from 51 to 50
Updated by Vincent MEMBRÉ almost 7 years ago
- Target version changed from 4.2.4 to 4.2.5
- Priority changed from 50 to 48
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 4.2.5 to 4.2.6
- Priority changed from 48 to 47
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 4.2.6 to 4.2.7
- Priority changed from 47 to 46
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 4.2.7 to 414
- Priority changed from 46 to 45
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 414 to 4.3.4
- Priority changed from 45 to 44
Updated by Benoît PECCATTE over 6 years ago
- Target version changed from 4.3.4 to 4.3.5
Updated by Vincent MEMBRÉ about 6 years ago
- Target version changed from 4.3.5 to 4.3.6
- Priority changed from 44 to 43
Updated by Vincent MEMBRÉ about 6 years ago
- Target version changed from 4.3.6 to 4.3.7
Updated by Vincent MEMBRÉ almost 6 years ago
- Target version changed from 4.3.7 to 4.3.8
- Priority changed from 43 to 0
Updated by Vincent MEMBRÉ almost 6 years ago
- Target version changed from 4.3.8 to 4.3.9
Updated by Alexis Mousset almost 6 years ago
- Target version changed from 4.3.9 to 4.3.10
Updated by Alexis Mousset almost 6 years ago
- Related to Bug #13890: Constant error message in Technique Editor when an invalid technique as been created added
Updated by Alexis Mousset almost 6 years ago
NOTE: It seems to break when starting a line with two slashes.
Updated by François ARMAND over 5 years ago
- Target version changed from 4.3.10 to 4.3.11
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 4.3.11 to 4.3.12
Updated by Benoît PECCATTE over 5 years ago
- Target version changed from 4.3.12 to 5.0.10
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.10 to 5.0.11
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.11 to 5.0.12
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.12 to 5.0.13
Updated by Vincent MEMBRÉ about 5 years ago
- Target version changed from 5.0.13 to 5.0.14
Updated by Vincent MEMBRÉ about 5 years ago
- Target version changed from 5.0.14 to 5.0.15
Updated by Vincent MEMBRÉ almost 5 years ago
- Target version changed from 5.0.15 to 5.0.16
Updated by Alexis Mousset almost 5 years ago
- Target version changed from 5.0.16 to 5.0.17
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 5.0.17 to 5.0.18
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 5.0.18 to 5.0.19
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 5.0.19 to 5.0.20
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 5.0.20 to 797
Updated by Benoît PECCATTE over 3 years ago
- Target version changed from 797 to 6.1.14
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.14 to 6.1.15
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.15 to 6.1.16
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 6.1.16 to 6.1.17
Updated by Benoît PECCATTE about 3 years ago
- Project changed from 41 to Rudder
- Category changed from Technique editor - API to Web - Technique editor
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 6.1.17 to 6.1.18
Updated by Vincent MEMBRÉ almost 3 years ago
- Target version changed from 6.1.18 to 6.1.19
Updated by François ARMAND almost 3 years ago
- Is duplicate of Bug #7745: \ are not escaped in technique editor added
Updated by François ARMAND almost 3 years ago
- Status changed from New to Resolved
It's corrected in 7.0.
Actions