Appcelerator-Cloud-Services-Sync-Adapter icon indicating copy to clipboard operation
Appcelerator-Cloud-Services-Sync-Adapter copied to clipboard

data.classname was not provided

Open nubu opened this issue 11 years ago • 2 comments

Hey,

i am using your Adapter for a few hours now - trying to get everything. :) So far, really nice work, could be a massive support on my current project.

I've ran into an (i assume) dumb error...

My goal is to update a specific Object in the Cloud, in this example the name of a squad.

var squad = Alloy.createModel('Squad', { id : "51af21e1ce217f75a41dce56" }); squad.save({ name : "test" });

So that was my approach - Everytime i try this, i've get an error: "data.classname was not provided".

Where is the tree in this forest? ;-)

Best, Nico

nubu avatar Feb 06 '14 11:02 nubu

I will take a look over the next few days. However I believe the adapter in the book is a better resource to use, this one is quite old. https://github.com/aaronksaunders/AppC-Alloy-Book

aaronksaunders avatar Mar 05 '15 19:03 aaronksaunders

i need more information here? what does your model.js file look like

aaronksaunders avatar Mar 19 '15 23:03 aaronksaunders