Comments (9)
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"}]}
from dreamfactory.
The bug has been fixed and both the code in the repo and package have been updated.
from dreamfactory.
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
from dreamfactory.
http://wiki.dreamfactory.com/DreamFactory/Installation#Upgrade
from dreamfactory.
Hi Trevor,
The bug has been fixed and you can get the updated package from the repo
(or import it again from your instance):
https://github.com/dreamfactorysoftware/javascript-sdk/blob/master/add_javascript.dfpkg
Thanks,
Carsten
Carsten Jacobsen | Sr. Software Engineer | DreamFactory |t. 408.915.7815 |
@dfsoftwareinc | [image: DreamFactory] http://www.dreamfactory.com/
On Mon, Mar 14, 2016 at 4:14 PM, thallstein [email protected]
wrote:
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
—
Reply to this email directly or view it on GitHub
#46 (comment)
.
from dreamfactory.
Quick question - I deleted the app and then went to apps > import. When I proceed with the import I get an error message: "Failed to create records in 'contact'. SQLSTATE[23000]: Integrity constraint violation: 19 PRIMARY KEY must be unique
from dreamfactory.
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.
from dreamfactory.
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 <[email protected]mailto:[email protected]>
Reply-To: dreamfactorysoftware/dreamfactory <[email protected]mailto:[email protected]>
Date: Tuesday, March 15, 2016 at 1:20 PM
To: dreamfactorysoftware/dreamfactory <[email protected]mailto:[email protected]>
Cc: Trevor z Hallstein <[email protected]mailto:[email protected]>
Subject: Re: [dreamfactory] index.html in JavaScript Address Book Example Invalid XML Payload Error (#46)
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.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com//issues/46#issuecomment-197004921
from dreamfactory.
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.
from dreamfactory.
Related Issues (20)
- Issues in Overriding GET request using POST (X-HTTP-METHOD tunneling)
- Bad script file for Ubuntu --with-oracle
- a bug about character "%" HOT 3
- Packets out of order HOT 1
- ubuntu.sh --with-oracle php8 issue HOT 2
- FirebirdConnection
- Firebird Stored procedure HOT 1
- FirebirdSchema
- Blog page layout broken for mobile display on Chrome browser
- Error in Call to a member function getDefaultSchema() on null, using MS SQL. HOT 1
- DF using deprecated PHP version 7.4. Please upgrade to 8.2 HOT 2
- Tilte
- Configuring database service with blank schema causes SQL error
- Rebrand and Nuget Package License HOT 1
- Whitescreen on start using docker HOT 2
- Error 500 after fresh install by script on Ubuntu server 22.04LTS HOT 11
- Record with identifier xxxx not found HOT 2
- Access to admins from Manage Admins is broken.
- With the new UI it is not possible to change the admin's password
- MapRHiveODBC download link not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dreamfactory.