Skip to content

addAllUnique() on Parse.User is not a function  #4704

@venkataramanab

Description

@venkataramanab

Issue Description

Parse.User.addAllUnique() is not a function

Steps to reproduce

Used on Parse Cloud Code on beforeSave(Parse.User,{})

Environment Setup

  • Server

    • parse-server version (Be specific! Don't say 'latest'.) : 2.7.4
    • Operating System: Mac 10.10.5
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): localhost
  • Database

    • MongoDB version: mongodb-core: 2.1.15
    • Storage engine: WiredTiger
    • Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): localhost

Logs/Trace

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

user ParseUser { _objCount: 0, className: '_User' }
error: Error generating response. ParseError {
  code: 141,
  message: TypeError: user.addAllUnique is not a function
    at /Users/venkataramana/Documents/parse-server/cloud2.js:180:18
    at <anonymous>
    at process._tickDomainCallback (internal/process/next_tick.js:228:7) } code=141, 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions