evanmiller/ChicagoBoss — Issue #50: ChicagoBoss doesn't work under Erlang 15B(eta)
Author: kotedo
Created: 2011-12-28 03:36:23+00:00
State: open

Hi Evan,

It seems that CB 0.6.9 doesn't work in Erlang 15B

Jackie Dong experienced this:

Hi,
I created a users.erl module under model directory.
-module(user_db, [Id, Email, User_name, Password]).

(wildbill@NDC-DEV-01)2> UserDb = user:new(id, "a", "b", 123).
{user_db,id,"a","b",123}
(wildbill@NDC-DEV-01)3> UserDb:save().
** exception exit: {{badarg,
[{re,split,
[id,"-",[{return,list}]],
[{file,"re.erl"},{line,100}]},
{boss_news_controller,
handle_call,3,
[{file,
"src/boss/boss_news_controller.erl"},
{line,136}]},
{gen_server,handle_msg,5,
[{file,"gen_server.erl"},
{line,578}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},
{line,227}]}]},
{gen_server,call,
[{global,boss_news},
{created,id,
[{id,id},
{email,"a"},
{user_name,"b"},
{password,123}]}]}}
in function gen_server:call/2 (gen_server.erl, line 180)
in call from boss_record_lib:run_after_hooks/3 (src/boss/
boss_record_lib.erl, line 11)
in call from boss_db:save_record/1 (src/boss/boss_db.erl, line
195)
(wildbill@NDC-DEV-01)4>