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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:13:05+00:00 2026-06-04T01:13:05+00:00

After sync() updating just that one row that is changed but not all from

  • 0

After sync() updating just that one row that is changed but not all from response.

Model:

Ext.define('Exp.model.ProfileChannel', {
    extend: 'Ext.data.Model',
    fields: ['id', 'channel', 'server', 'profile'],

    proxy: {
        type: 'ajax',
        api: {
            read: '/profilechannel/list',
            update: '/profilechannel/save'
        },
        reader: {
            type: 'json',
            root: 'data'
        }
    }
});

Store:

Ext.define('Exp.store.ProfileChannels', {
    extend: 'Ext.data.Store',
    model: 'Exp.model.ProfileChannel',
    autoSync: true
});

Lets say in store i have record like this:

{
    id: '1',
    profile: 'profile id',
    channel: '',
    server: ''
}

then after: record.set('channel', 'channel id');

response:

{
    "success":true,
    "data":[
        {
            id: '1',
            profile: 'profile id',
            channel: 'channel id',
            server: 'server id added on backend'
        }
    ]
}

And in the end I have record like this:

{
    id: '1',
    profile: 'profile id',
    channel: 'channel id',
    server: ''
}

So the problem is how can I update and server value I have new value in response.. is that a bug? or I am doing it wrong? why should I put all properties if extjs ignoring them?

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

    It should behave exactly how you expect it to. All records returned from the store after update procedure should replace local copies you might already have in the store. You might want to check ExtJs code and debug it to see what’s wrong.

    I definitely use same logic with ExtJs 4.0.7. It’s possible something is broken it 4.1, or may be you need to adjust some configuration in your store/proxy.

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

Sidebar

Related Questions

I just sync'd an artifact to Maven Central from oss.sonatype.org. Immediately after doing so,
I'd like to override Backbone.sync but also have the original Backbone.sync functionality run after
After repeated searching I have not found an elegant solution to this issue: how
After a small amount of research it seems that TCP MD5 Signatures are enabled
After upgrading from 1.4.2 to 1.5.1 my google analytics ecommerce tracking isnt working. Google
After porting a code segment from Windows to Mac OS X, I found it
I'm using NSUserDefaults to keep an object in sync across several UIViewController s that
I'm learning python and trying to write a code to sync two directories: one
What happens is we have a contact sync application. Soon after pressing a button
I've built an auto-sync script that does the following: Cleanup the current location Copy

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.