jacaetevha/sugarcrm — comment on commit 0636284e801a3aa191a0427f64e7caf2f1530e0a
File:  line 0
By chicks:

Excellent, I should have said '''AbcBuilder''', sorry :)

If you look at the output of "associations", and you search for a proxy_method that includes "community". You get something like this:

#

'''@target=false''', means that the gem doesn't know which module is associated with this class. This is probably because it wasn't provided in the module metadata we received from a '''get_module_fields''' call (we look for the module name in the "module" or "bean_name" entry of the returned metadata).

Can you run:

SugarCRM.connection.get_module_fields("AbcBuilders")

And look for a line like:

"rt_communities"=>
{"name"=>"communities_builders",
"type"=>"link",
"relationship"=>"communities_builders",
"module"=>"",
"bean_name"=>""},

Let me know if "module" and or "bean_name" are empty. If so, try editing the vardefs and adding the appropriate module name.