wangyao5 / openmobster

Automatically exported from code.google.com/p/openmobster
0 stars 0 forks source link

MobileBeanId Issue with new beans. readById does not work #148

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Newly created activities on the device that are synced and have a MobileBeanId 
show up in the activities returned from MobileBean.readAll(...) and 
MobileBean.query...(...) but not when I do MobileBean.readById(...) using the 
value in the MobileBeanId property. This is in contrast to activities created 
in the bootup(...)/readAll(...) methods of the Channel.
This also looks like a bug. I will have to track it down. Have you tried 
MobileBean.readById(mobileBean.getId)
Does this occur only in the activities created on the device. What about 
activities pulled down from the Cloud?

Original issue reported on code.google.com by openmobs...@gmail.com on 26 Sep 2012 at 5:28

GoogleCodeExporter commented 8 years ago
There are no issues with readById. The user was accidently sending in the wrong 
id. No worries!!!!!

Original comment by openmobs...@gmail.com on 30 Sep 2012 at 8:09