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 6971629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:51:52+00:00 2026-05-27T16:51:52+00:00

My json-store contains one record. This record is dirty after changing a field and

  • 0

My json-store contains one record. This record is dirty after changing a field and correctly after store.sync() a POST is sended with action=update and the record data in the body.

On the server side I commit the update and send back the record (with success:true) as it was posted originally (all fields are included).

Afterwards the store has doubled the record, which means the store has now two (2) identical records (same id etc.).

I played around with all options I could imagine of (root [on/off], idProperty (set/unset) etc.) the effect is always the same.

Any hint what I am doing wrong?

  • 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-05-27T16:51:53+00:00Added an answer on May 27, 2026 at 4:51 pm

    I finally found the reason for the described misbehavior. Within my model I had overwritten the constructor like this:

    constructor: function(config) {
        this.callParent([config]);
    },
    

    I do not really remember why I did this, but since I have deleted the constructor, everything works fine. But due to my relative inexperience, I don’t know why this works.

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

Sidebar

Related Questions

I am trying to store a json encoded array into a MySQL field. The
I'm getting this json string info from the server : {members:[[sd2840d,Johny],[jkld341,Marry]]} So I store
I have MySQL database, where I store the following BLOB (which contains JSON object)
I have a file which contains two JSON arrays; one is holding the column
I have a JSON data store used for a combobox selection which is working
I recently started using Riak with PHP. How exactly do I store JSON data?!
How to store large JSON String in cookie ? I have to use cookie
I'd like to store my json response in a global variable so, i could
I'm trying to save some specific JSon data and store them in a simple
My goal is store temporary files in the directory returned by Context#getCacheDir(). /data/data/my.app/cache/somedir/foo.json I

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.