auser/wonderland

Hitting permissions chokes

Opened this issue · 0 comments

There's a flash message saying "Could not get permissions". In Alice's console, I get to see this:

=CRASH REPORT==== 21-Jan-2010::03:40:30 ===                                                                                                
 crasher:                                                                                                                                 
   initial call: mochiweb_socket_server:acceptor_loop/1                                                                                   
   pid: <0.152.0>                                                                                                                         
   registered_name: []                                                                                                                    
   exception error: bad argument                                                                                                          
     in function  iolist_size/1                                                                                                           
        called as iolist_size({permissions,                                                                                               
                               {struct,                                                                                                   
                                [{vhosts,                                                                                                 
                                  [{struct,                                                                                               
                                    [{"name",<<"/">>},                                                                                    
                                     {"users",                                                                                            
                                      [{struct,                                                                                           
                                        [{"name",                                                                                         
                                          {<<"guest">>,<<".*">>,<<".*">>,                                                                 
                                           <<".*">>}},                                                                                    
                                         {"configure",<<".*">>},                                                                          
                                         {"write",<<".*">>},                                                                              
                                         {"read",<<".*">>}]}]}]}]}]}})                                                                    
     in call from mochiweb_request:respond/2                                                                                              
     in call from mochiweb_http:headers/5                                                                                                 
   ancestors: [mochiweb_http,rest_server,rest_server_sup,<0.60.0>,<0.59.0>]                                                               
   messages: []                                                                                                                           
   links: [<0.70.0>,#Port<0.983>]                                                                                                         
   dictionary: []                                                                                                                         
   trap_exit: false                                                                                                                       
   status: running                                                                                                                        
   heap_size: 2584                                                                                                                        
   stack_size: 24                                                                                                                         
   reductions: 1455                                                                                                                       
 neighbours: