Skip to content
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

req.body is being set to empty object {} #28

Open
gitmrlu opened this issue Jan 16, 2017 · 2 comments
Open

req.body is being set to empty object {} #28

gitmrlu opened this issue Jan 16, 2017 · 2 comments

Comments

@gitmrlu
Copy link

gitmrlu commented Jan 16, 2017

This can be reproduced by logging in (after creating a user if necessary) and trying to edit the profile page. The form will give the error 'Unexpected token T in JSON at position 0' and the server will give the error 'Cannot use 'in' operator to search for 'color' in undefined' but this is due to req.body being {}

@edjiang
Copy link

edjiang commented Jan 17, 2017

Looks like there's a problem with the React 1.3.4 library for the purposes of this example; I would pin it in your package.json.

"react-stormpath": "1.3.3"

Will get this reported. Thanks!

@edjiang
Copy link

edjiang commented Jan 18, 2017

Looks like it's being tracked in this ticket: stormpath/stormpath-sdk-react#154

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants