Project: titanium
Issue TIMOB-20577: Windows: App crashes when calling fetch() on any collection that has data
Creating a collection, and calling fetch if it is emtpy doesn't crash. Create 1 model and save it, then re-fetch the collection the app crashes in the emulator. This is a pretty serious issue if you can't fetch any data?! Not sure what version this dates back to as we're new to windows dev in Titanium. We're adding windows support to longstanding iOS/Android Ti apps. Index.js: {code:java} var library = Alloy.createCollection("userForms"); library.fetch(); var user = Alloy.createModel('userForms', {	Name: "Hello world" }); user.save(); library.fetch(); $.index.open(); {code} Model: {code:java} config: {	columns: {	"Name": "TEXT"	},	adapter: {	type: "sql",	collection_name: "userForms"	}	} {code}
Story points: 8