mohitsachan / appstract

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

Data read and written from SQLite for VirtualRegistryValue.Data is inconsistent #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Steps to reproduce the problem:
1. Put a string in VirtualRegistryValue.Data
2. Send that object inside a VirtualRegistryKey to RegistryDatabase, so 
it's written to the SQLite database (remember to let the thread wait, 
writing is asynchronous)
3. Read the object using RegistryDatabase
4. Verify if VirtualRegistryValue.Data equals the value used in step 1

Expected output would be the exact same value before writing and after 
reading.
In stead SQLite returns a byte[] for the string. This is somehow expected 
behavior of SQLite, therefor VirtualRegistryValue.Data should either be a 
byte array or should either automatically convert to the expected type 
(based on VirtualRegistryValue.Type) before exposing the value.

Original issue reported on code.google.com by simon_al...@hotmail.com on 19 Jan 2010 at 1:33

GoogleCodeExporter commented 8 years ago
Commited in r215

Original comment by simon_al...@hotmail.com on 2 Mar 2010 at 2:08