New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
index.html in JavaScript Address Book Example Invalid XML Payload Error #46
Comments
This is a bug that we'll fix ASAP. The API used to allow creating a single record without the resource array wrapper. This is no longer allowed, and the JavaScript sample app needs to be changed to use the array format. You can fix it yourself by changing the AJAX calls to use array format. {"name":"Joe"} ---> {"resource":[{"name":"Joe"}]} |
The bug has been fixed and both the code in the repo and package have been updated. |
Hi Carsten, I used Bitnami to install DreamFactory on AWS. Could you provide inx or point me to a link for how to update the AWS instance? Thanks so much. Trevor |
Hi Trevor, The bug has been fixed and you can get the updated package from the repo Thanks, Carsten Jacobsen | Sr. Software Engineer | DreamFactory |t. 408.915.7815 | On Mon, Mar 14, 2016 at 4:14 PM, thallstein notifications@github.com
|
you probably need to drop the tables in the schema tab, then import the app again. when you import the app again, it's importing the schema, but if the schema is already there then you'll have collisions. |
Yah – I just did that. How does one import a 2nd example app? I wanted to look at the angular js example, but presumably it’s going to complain about this same thing. From: Ben Busse <notifications@github.commailto:notifications@github.com> you probably need to drop the tables in the schema tab, then import the app again. when you import the app again, it's importing the schema, but if the schema is already there then you'll have collisions. — |
i believe each sample app uses the same schema (i.e. schema isn't namespaced for each example app). you can try importing a second one, but i think you need to drop the schema, then import the second app. |
I'm going through the JavaScript sample program. When I open the file and try to save it having made no changes I get an xml payload error. I've attached a screenshot of the dialog box.
The text was updated successfully, but these errors were encountered: