Project

General

Profile

Actions

Bug #14512

closed

Technique import fails in 5.0.8 due to missing components

Added by Alexis Mousset over 5 years ago. Updated almost 3 years ago.

Status:
Rejected
Priority:
N/A
Category:
Web - Technique editor
Target version:
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

Cause: 'component'
Traceback (most recent call last):
 File "/usr/share/ncf/api/ncf_api_flask_app/views.py", line 163, in create_technique
   result = ncf.write_technique(technique,path)
 File "/usr/share/ncf/tools/ncf.py", line 717, in write_technique
   content = generate_technique_content(technique, methods)
 File "/usr/share/ncf/tools/ncf.py", line 588, in generate_technique_content
   content.append('    "'+promiser+'_context_' + str(report_unique_id) + '" usebundle => '+ generate_reporting_context(method_info, method_call) + ";")
 File "/usr/share/ncf/tools/ncf.py", line 606, in generate_reporting_context
   class_parameter_name  = regex.sub(r'\\"', method_call["component"])
KeyError: 'component'
Actions

Also available in: Atom PDF