Open elnewfie opened 5 years ago
+1, any update on this?
{
"notice": "seneca: Action module:* failed: Cannot read property 'pattern' of undefined.",
"code": "act_execute",
"err": {
"eraro": true,
"orig": {},
"code": "act_execute",
"seneca": true,
"package": "seneca",
"msg": "seneca: Action module:* failed: Cannot read property 'pattern' of undefined.",
"details": {
"message": "Cannot read property 'pattern' of undefined",
"pattern": "module:*",
"instance": "Seneca/m624jki26b94/1578068151999/30928/3.17.0/-",
"orig$": {},
"message$": "Cannot read property 'pattern' of undefined",
"plugin": {}
},
"callpoint": "at Object.resolveClientTopic (/Users/xxx/node_modules/seneca-amqp-transport/lib/client/client-util.js:44:34)"
},
}
Using Seneca({legacy:{meta:true}})
may be a workaround.
It looks like there was a breaking change in Seneca 3.14.0 that breaks the AMQP transport with the titular error. Using the following example with
seneca-amqp-transport:2.2.0
andseneca:3.14.0
(or above):I will get the error:
TypeError: Cannot read property 'pattern' of undefined
inlib/client/client-util.js:44
.If I run with a version of SenecaJS below this (for example
3.13.3
) it works as advertised.