potential 0.8.9 bug (or my stupidity): View Action Error

20 views
Skip to first unread message

jim rosenblum

unread,
Feb 5, 2014, 9:15:49 AM2/5/14
to chica...@googlegroups.com
I upgraded CB from 0.8.7 to 0.8.9 and I am getting errors around certain return values of web_controllers. Specifically, any controller that returns
{StatusCode::integer(), Body::iolist(), Headers::proplist()}

causes, in a specific case,
Action returned an invalid return {201, "created",[]}


Any thoughts?

Also, thank you Evan for CB - I love it and will shortly be releasing V1 of a tool within my company as part of a customer-infrastructure monitoring and (basic) work-flow engine tool. Thank you, also,  Zach Kessin and Dmitry Polyanovsky for ensuring that this fun and productive framework lives on.

Eric Cestari

unread,
Feb 5, 2014, 10:03:47 AM2/5/14
to chica...@googlegroups.com
Hi Jim,

Have you tried passing a binary ? You’re passing a list, and I suspect that it is the cause of the error :
{201, <<"created">>,[]}

--
You received this message because you are subscribed to the Google Groups "ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chicagoboss...@googlegroups.com.
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/14afa27c-8fca-4779-a6e7-532729ccaa52%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

jim rosenblum

unread,
Feb 5, 2014, 10:55:52 AM2/5/14
to chica...@googlegroups.com
That also fails, also it doesn't fail in the previous (0.8.7) version

I *did* try {201, <<"created">>,[]}
as well as {201, "created",[]}

they both fail. The first works in 0.8.7, I did not try the second on 0.8.7

Reply all
Reply to author
Forward
0 new messages