Bug report: Some chef.help
Operation Names Incompatible with chef.bake
#1191
Labels
chef.help
Operation Names Incompatible with chef.bake
#1191
Describe the bug
When searching for operations using the
chef.help
function, you can be returned an operation object that contains a name that will not work withchef.bake
including the operation names'Adler-32 Checksum', 'CRC-16 Checksum', 'CRC-32 Checksum', 'CRC-8 Checksum', 'Convert co-ordinate format', 'Find / Replace', 'Fletcher-16 Checksum', 'Fletcher-32 Checksum', 'Fletcher-64 Checksum', 'Fletcher-8 Checksum', 'HAS-160', 'Image Brightness / Contrast', 'Image Hue/Saturation/Lightness', 'Parse ASN.1 hex string', 'Parse X.509 certificate', 'Pseudo-Random Number Generator', 'TCP/IP Checksum'
. If any of these operation names that can be found with thechef.help
function are attempted with thechef.bake
function, it will throw an error includingCouldn't find an operation with name {operationName}
.To Reproduce
chef.bake("foobar", { op: chef.help('Adler')[0].name })
Expected behaviour
I would expect every operation name found with the
chef.help
function to be compatible withchef.bake
Additional context
The list above of operation names that that come from
chef.help
that are not compatible withchef.bake
comes from the code:There could be more operations that have this issue as well, but the current mapping I've found that works when mapping the
chef.help
operation names with operation names that actually work withchef.bake
are:The text was updated successfully, but these errors were encountered: