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

  • Home
  • SEARCH
  • 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 8697915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:37:44+00:00 2026-06-13T01:37:44+00:00

I know this error has come up a few times, but I’m still not

  • 0

I know this error has come up a few times, but I’m still not sure how to make this work appropriately..

My magic begins here :

    var list_edit_member_view = new app.views.ListMemberEdit({
      el: $("#enterprise_member_list_edit_container"),
      list_ids: list_ids
    });
    list_edit_member_view.render();

And this loads this View (ListMemberEdit.js) which has this in the render() :

this.list_edit_member_view = new app.views.CollectionView({
  el: $("#enterprise_member_list_edit_container"),
  collection: app.peers,
  list_item: app.views.ListMemberEditSelection, 
  list_item_options: {list_ids: this.options.list_ids} 
});

Which loads a CollectionView view that renders its list_item_options as model views.. It is within this file (ListMemberEditSelection.js), that when I perform this.destroy, it will return :

Uncaught Error: A "url" property or function must be specified

So this makes me think that the Model or the Model URL is not being defined.. I’m just not sure where to put this since it works very similar to my other partials that are doing roughly the same thing..

Any thoughts? My apologies for the vagueness. Let me know if there’s anything else you would like to look at!

I’m curious if its possible to see where this URL attribute would be written within the Object Model or Collection itself.

  • 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-13T01:37:45+00:00Added an answer on June 13, 2026 at 1:37 am

    This is because destroy() function will call Backbone.sync to update the server too, not only your models in the frontend. http://backbonejs.org/#Model-destroy

    So, if you’re using REST to sync your data, you’ll need to set a url property in your model so Backbone know where to send request:

    Backbone.Model.extend({
        url: "http://myapi.com/"
    })
    

    To allow more flexibility, you can also set a urlRoot: http://backbonejs.org/#Model-urlRoot

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

Sidebar

Related Questions

I know this has been asked several times, but after a few hours of
I know this error appeared on forum million of times, but please help me
I know this is a common error, but bear with me. I've pursued the
Anyone know how to remedy this error? Specified cast is not valid. Description: An
Has anyone ever come across this? I've never seen it before. I know there
This error has come up recently in my eclipse android maven project, and I
I know what this error means, the unusual thing it whats throwing it. EntitySave(arguments.entity);
Anyone know what this error means? after googling I found a bunch of sites
I know what this error is, how to fix it, etc. My question is
Does anyone know what this error message means? FATAL: Code generation error detected during

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.