niteshmourya / app-inventor-for-android

Automatically exported from code.google.com/p/app-inventor-for-android
Apache License 2.0
1 stars 0 forks source link

Bug in tinyDB when saving components #2164

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When you save a list variable with a list of components to the tinyDB, it gets 
converted to a string and then when you try to reload the project it gives you 
an error.

What happens:
It tells you that the setters was expecting a component but got a string.

How to recreate:
Save a list of component id's to the tinyDB. Reload the list as in a 
screen1.init and then try to loop through the list of component id's using the 
advanced blocks.

Original issue reported on code.google.com by barnes.t...@gmail.com on 25 Jun 2012 at 11:15

GoogleCodeExporter commented 9 years ago
TinyDB saves strings, not lists or components or other stuff.
We could possibly upgrade it to doing lists, but saving components would be 
very hard.

Original comment by halatmit...@gmail.com on 1 Jul 2012 at 3:33