[CLOSED] Column/Store field name "Date" and crash of ExtJS

  1. #1

    [CLOSED] Column/Store field name "Date" and crash of ExtJS

    Hello!

    In my system exist column and store field with name "Data". When I destroyed my grid the function Ext.util.Observable.prototype.purgeListeners has been call. It's has set JavaScript object Date in null.

    This code of this function:

    Ext.util.Observable.prototype.purgeListeners = Ext.util.Observable.prototype.purgeListeners.createSequence(function () {
    if (window[this.proxyId || this.id]) {
     window[this.proxyId || this.id] = null;
     }
    });
    It's 342 line in file with namespace Ext.ns("Ext.net", "Ext.net.DirectMethods", "Ext.ux", "Ext.ux.plugins", "Ext.ux.layout"); (by @date : 2010-06-15 ).

    It is very, very badly - when I destroy grid, I delete Date data type...
    Last edited by geoffrey.mcgill; Aug 02, 2010 at 8:24 PM. Reason: please use [code] tags
  2. #2
    Hi pil0t,

    I think we have located the problem. As a temp work-around, please change name of "Date" ColumnID to another name.
    Geoffrey McGill
    Founder
  3. #3
    Good news! Thanks! Can you give me any prognoses on fix of this bug? If it's few days - will be nice, else I will need add work-around in our project (it's not so easy as I wish, unfortunatly, but I have alot time for waiting fixes from you).
  4. #4
    Hi,

    We have commited the fix. Please update from SVN and retest
  5. #5
    Still not work...

    Date is not a constructor
    [Break on this error] return Math.abs((date || new Date()).getTime()-this.getTime());
    Seems that Date has been set at null.
  6. #6
    Hi,

    Please provide a test sample which reproduces the problem
  7. #7
    Is there still a problem with Date object being overwritten. We were not able to reproduce. Please post a code sample and/or more information that would help us to reproduce.
    Geoffrey McGill
    Founder

Similar Threads

  1. Date Field causes "Uncaught RangeError"?
    By Bubu in forum 2.x Help
    Replies: 1
    Last Post: Aug 01, 2012, 5:17 AM
  2. [CLOSED] Default date format for Type="Date" RecordField
    By r_honey in forum 1.x Legacy Premium Help
    Replies: 12
    Last Post: May 29, 2012, 3:16 PM
  3. Replies: 4
    Last Post: May 22, 2012, 10:40 AM
  4. Replies: 5
    Last Post: May 02, 2012, 5:37 PM
  5. Replies: 2
    Last Post: Jun 26, 2011, 1:59 AM

Posting Permissions