AnsweredAssumed Answered

Problems with Cases bean in Sugar7

Question asked by Francesca Shiekh on Apr 26, 2015
Latest reply on Apr 26, 2015 by Francesca Shiekh
I seem to have a lot of problems after going live with scripts that involve retrieving a Cases bean for a known ID.

Does anyone else have trouble with statements like:

$c = new aCase();




$cs = BeanFactory::getBean('Cases', $case_id);

I either get empty beans or partial beans which makes no sense to me.

I've been trying to debug this for 2 very long days with no success, starting with looking at all logic hooks I have on Cases.

It's probably something very dumb but it's affecting multiple scripts.

Any ideas are appreciated.