Skip to content

[PFUser currentUser].email returns nil #10456

@ovusense

Description

@ovusense

Issue Description

Since upgrading to parse-server 9.9.0 (from 9.6.1) a call to [PFUser currentUser].email returns nil. This seems like a breaking change, since the _User table still has a valid email entry.

Steps to reproduce

Run Parse Server 9.9.0, and an iOS app with a valid user account. Once signed in try and access the .email object for the [PFUser currentUser] object and also the .username object.

Actual Outcome

Since upgrading just the Parse Server to 9.9.0 from 9.6.1, (and making no changes to the iOS code), [PFUser currentUser].email returns nil.

Expected Outcome

[PFUser currentUser].email should return the entry in the database.

Environment

iOS 18.7
parse_sdk_ios_osx : 6.1.1
bolts-objc : 1.10.0

Server

  • Parse Server version: 9.9.0
  • Operating system: iOS 18.7
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): AWS

Database

  • System (MongoDB or Postgres): MongoDB
  • Database version: MongoDB 8.0
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): MongoDB Atlas

Client

  • SDK (iOS, Android, JavaScript, PHP, Unity, etc): iOS
  • SDK version: iOS 18.7

Logs

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions