On Thu, Mar 26, 2009 at 10:49 AM, schneck <[email protected]>wrote:
> > Hi there, > > capturing binary files and storing them locally works fine, i store a > file reference in the sqlite-db and can access it and the file itself > - if i'm offline. > when i am online, i can access the sqlite-database, but not my > resource store. if i try to get a blob from a url which is not listed > in the manifest's url list, i get a js-error "Failed to get blob". I > did set myresourcestore.enabled=true to ensure that the url i request > will be served from the local cache. > > This behaviour seems strange to be since I can access the database, > but not the files. The behavior you describe is not the the intended behavior. You certainly should be able to store.getAsBlob(url) any resource that resides within that resource store. What does store.isCaptured(url) have to say about the resource you are interested in? Also you mention something about manifest files? ManagedResourceStores does not provide a getAsBlob() method at all... so this bit about manifest files in your question confuses me? > > > Any ideas? > > Thanks a lot, > schneck > >
