Skip to content

Email field is no longer present in PFUsers returned from query #4028

Closed
@zingano

Description

@zingano

We use GitHub Issues for bugs.

If you have a non-bug question, ask on Stack Overflow or Server Fault:

You may also search through existing issues before opening a new one: https://github.com/ParsePlatform/Parse-Server/issues?utf8=%E2%9C%93&q=is%3Aissue

--- Please use this template. If you don't use this template, your issue may be closed without comment. ---

Issue Description

My system has an OS X admin app which is available to trusted administrators only and these admins' PFUser objects are members of a privileged "Admin" Role. The administrators need access to the ordinary iPhone users' emails to contact them about their submissions, among other things.

Each iPhone PFUser in the database is readable by itself and by the Admin role.

For the simplest example, my admin app (Mac OS X) shows a table of users of my iPhone app.

In Parse server 2.2.24, the email column is completed with valid user emails.
In Parse server 2.4.0, this column is blank. The PFUser object that is fetched has no email property.

There were no changes in my OS X application.

Steps to reproduce

Query on the PFUser table returning e.g. newest 100 users.

Expected Results

User email property present

Actual Outcome

User email property not present (null)

Environment Setup

  • Server

    • parse-server version 2.4.2
    • Operating System:
    • Hardware:
    • Localhost or remote server? Heroku
  • Database

    • MongoDB version: 3.2
    • Storage engine:
    • Hardware:
    • Localhost or remote server? mLab

Logs/Trace

Include all relevant logs. You can turn on additional logging by configuring VERBOSE=1 in your environment.

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