Class loading/parsing broken for us at 10808c2

18 views
Skip to first unread message

Joel Hughes

unread,
Feb 25, 2018, 3:28:21 PM2/25/18
to foam-framework-discuss
Hi Adam
My JBBMobile apps are broken by Change property serialization

Fails with:
Assertion failed: Could not find any registered class for com.serviceecho.model.SObject.id

the last entry point for us (we have many of these):

fromJSON: function(value, ctx, prop) {
  return foam.json.parseString(value, ctx);
}

with value (example):
"{class:"foam.mlang.predicate.In",arg1:{class:"__Property__",forClass_:"com.serviceecho.model.SObject.id"},upperCase_:false,arg2:{class:"foam.mlang.Constant",value:["Scheduled","Paused","In-Progress","Completed"]},valueSet_:{Scheduled:true,Paused:true,"In-Progress":true,Completed:true}}"


Is it possible to make this change backward compatible, at least temporarily so we can migrate our data?

Thanks
Joel

Joel Hughes

unread,
Feb 27, 2018, 9:02:29 PM2/27/18
to foam-framework-discuss
Hi Adam
Resolved with recent push. 
Only had to adjust a couple forClass_ calls I was making in our SOQLDAO.

Thanks
Joel
Reply all
Reply to author
Forward
0 new messages