Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8281467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T10:02:37+00:00 2026-06-08T10:02:37+00:00

After successfully adding an object to a Parse.Relation using 1 this.topic.relation(friend).add(email); 2 this.topic.save(); I’m

  • 0

After successfully adding an object to a Parse.Relation using

1 this.topic.relation("friend").add(email);
2 this.topic.save();

I’m getting Parse.Object._getSubclass requires a string argument on line 1 below

1 renderAllFriends: function(collection, filter) {
2   this.topic.relation("friend").query().find({
3     success:function(emails) {
4       this.$("#friends-list").html("");
5       emails.each(this.renderOneFriend);
6     }
7   });
8 }

Everything seems properly recorded in Mongo. One thing to note is that the Email object is a custom class with a non-mandatory user column.

Thanks for any tips on where to dig for an answer! The Parse repo was not that helpful in this regard since _getSubclass makes no exception for Parse.Relation (which is good).

Gon

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T10:02:39+00:00Added an answer on June 8, 2026 at 10:02 am

    There were some bugs in the early version of the parse js sdk, where the queries weren’t constructed right. If you grab the latest version of the SDK which is 1.0.10, it should work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using NetDataContractSerializer . After successfully deserializing an object, is there a way to
I am using Struts application while running welcome page is run successfully after that
I have been trying to post using RestKit after I have successfully used it
I wrote an ASPX file in VB.NET. Originally this file ran successfully but after
i am adding some data from my jsp page( Add.jsp ). after adding that
After following the advice in this question successfully, I added a couple additional lines
After adding an entry in iPhone contacts successfully, now I want to restrict the
After successfully opening Pop3Folder , and retrieving messages from it, I then sometimes get
After successfully acquiring an oauth_token for a user, I am able to get successful
after successfully building my application the start fails because it relies on config files

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.