Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug report: Magic operation doesn't work #959

Closed
cmaloney3030 opened this issue Nov 1, 2019 · 2 comments
Closed

Bug report: Magic operation doesn't work #959

cmaloney3030 opened this issue Nov 1, 2019 · 2 comments
Labels
api issues relating to the node API interface bug

Comments

@cmaloney3030
Copy link

Describe the bug
Trying to call the Magic operation returns the error: "Cannot read property 'undefined' of undefined"

To Reproduce
I started off by trying one of your examples and just changed the operation. When the op was "from morse code" it worked correctly, but does not work when given this input:

curl -X POST -H "Content-Type:application/json" -d '{"input":"... ---:.-.. --- -. --. --..--:.- -. -..:- .... .- -. -.- ...:..-. --- .-.:.- .-.. .-..:- .... .:..-. .. ... ....", "recipe":{"op":"Magic","args":[3,false,false,""]}}' localhost:3000/bake

Expected behavior
The same output as the "from morse code" operation

Node version:
v10.17.0

@d98762625
Copy link
Member

Thanks @cmaloney3030 I haven't tried with the magic operation yet.

@d98762625
Copy link
Member

Started solving with this PR

@d98762625 d98762625 transferred this issue from gchq/CyberChef-server Feb 12, 2020
@d98762625 d98762625 added api issues relating to the node API interface bug labels May 27, 2020
@n1474335 n1474335 closed this as completed Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api issues relating to the node API interface bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants