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

request.user on cloud code is undefined with iOS 10 #2783

Closed
iamraafay opened this issue Sep 26, 2016 · 3 comments
Closed

request.user on cloud code is undefined with iOS 10 #2783

iamraafay opened this issue Sep 26, 2016 · 3 comments

Comments

@iamraafay
Copy link

Issue Description

We just updated our iOS codebase to iOS 10 as base SDK with Xcode 8 with Parse iOS SDK version '1.14.2' and Server version 2.2.17. We observed that the cloud functions aren't having the user object in the request payload on the server which is being made by the iOS 10 compatible app.

Steps to reproduce

  • Update your Mac with the latest Xcode 8.
  • Then update iOS app codebase to Swift 2.3.
  • If your Parse SDK isn't 1.14.2, then please update that as well.
  • Now run the app and see your cloud functions on the server has user object missing.

Expected Results

These cloud functions should have the original payload with the user objects invoke in them.

Actual Outcome

There's no user object in the request payload.

Environment Setup

Server

parse-server version (Be specific! Don't say 'latest'.) : v2.2.17
Operating System: Heroku (cedar)
Hardware: Heroku
Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): Heroic
Database

MongoDB version: 3.0.12 (MMAPv1)
Storage engine: MMAPv1
Hardware: mLab
Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): mLab

Logs/Trace

You can turn on additional logging by configuring VERBOSE=1 in your environment.

@flovilmart
Copy link
Contributor

Can you please provide the logs when running with VERBOSE=1 for those users that are missing?

@flovilmart
Copy link
Contributor

Also did you try the suggested resolution here: parse-community/Parse-SDK-iOS-OSX#437 (comment)

@hramos
Copy link
Contributor

hramos commented Sep 26, 2016

Closing as dupe of #2753.

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

3 participants