Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User gcallaghan's Avatar
    Join Date
    Apr 2010
    Cupertino, Ca
    Vote Rating
    gcallaghan is on a distinguished road


    Default [OPEN-758] prepareAssociatedData appears to collide on different models same id

    [OPEN-758] prepareAssociatedData appears to collide on different models same id

    Sencha Touch 1.0.1
    Google Chrome

    The prepareAssociatedData routine keeps track of all the associated models loaded.
    prepareAssociatedData: function(record, ids) {
            //we keep track of all of the internalIds of the models that we have loaded so far in here
            ids = ids || [];
    This works fine if there is only 1 associated model
    If there are multiple associated models and perhaps chained associations, this can cause a collision. It is perfectly possible to have different models with the same id. However, in this case the model would not be loaded because...

     //when we load the associations for a specific model instance we add it to the set of loaded ids so that
     //we don't load it twice. If we don't do this, we can fall into endless recursive loading failures.
     if (ids.indexOf(internalId) == -1) {
    so, rather than a simple list of ids, maybe a json object with model names as properties that reference a list of id's ie...

    ids = {
    Last edited by gcallaghan; 3 Feb 2011 at 10:02 AM. Reason: typo

Similar Threads

  1. [OPEN-693] Passwordfield value appears as plain text in Android
    By sailesh in forum Sencha Touch 1.x: Bugs
    Replies: 3
    Last Post: 3 Jun 2011, 7:26 PM
  2. How to link two Models
    By winsent in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 12 Dec 2010, 1:39 PM
  3. ExtJS/Sencha and Wordpress Collide
    By mrlynn in forum Community Discussion
    Replies: 0
    Last Post: 23 Nov 2010, 12:28 PM
  4. models inside models
    By kortovos in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 27 Sep 2010, 3:43 AM
  5. [OPEN-1240] DateField appears behind Tooltip
    By Andreas B. in forum Ext 3.x: Bugs
    Replies: 0
    Last Post: 26 Aug 2010, 11:28 PM
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."