Actions
Bug #20065
closedAfter migrating from 6.2 to 7.0, techniques that were totally valid may become invalid because of name collision in rudderc
Bug #20065:
After migrating from 6.2 to 7.0, techniques that were totally valid may become invalid because of name collision in rudderc
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
I had a technique named "command" in 6.2
After migrating to 7.0, I have the following errors
[2021-10-05 14:33:57+0000] ERROR application - An error occurred when compiling technique 'command' (id : 'BundleName(command)') with rudderc, error details in /var/log/rudder/rudderc/failures/2021-10-05T14:33:57.070Z_command.log, falling back to old saving process
error =>
Inconsistency: An error occurred when compiling technique.rd file into cfengine
code: 1
stderr: An error occurred, could not create content from 'technique.rd':
technique.rd:10:10: !--> Resource 'command' at technique.rd:10:10 already defined at 'command' at command.rd:8:10
An error occurred, could not create content: Command was "/opt/rudder/bin/rudderc" "compile" "-j" "-f" "cf" "-i" "/var/rudder/configuration-repository/techniques/ncf_techniques/command/1.0/technique.rd" "--config-file=/opt/rudder/etc/rudderc.conf"
stdout: {
"command": "compile",
"source": "technique.rd",
"time": "1633444437064",
"status": "failure",
"logs": {
"logs": []
},
"data": [],
"errors": [
Actions