Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Grouping is not working when value is null

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-17776 in 6.2.2.
  1. #1
    Sencha User
    Join Date
    May 2014
    Posts
    16
    Vote Rating
    5
      2  

    Default Grouping is not working when value is null

    Hi,

    With version 6.0 I'm not able to group a set of objects when some of the elements has null attributes.

    For example, if I have tasks with labels, and I group per label, it works well if all actions have a not null value in the label attribute; otherwise I'm getting this error: http://cl.ly/image/0H02220x0400

    I'm happy to create a fiddle once 6.0.0 is available in: fiddle.sencha.com/#home

    Same code is working fine in 5.1.0

    Thanks
    Kind regards

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Vote Rating
    296
      2  

    Default

    Thanks for the report. Can you please go ahead and post that test Fiddle? I'll be able to test against 6.x. Thanks!

  3. #3
    Sencha User
    Join Date
    May 2014
    Posts
    16
    Vote Rating
    5
      1  

    Default

    Hi Gary,

    Thanks for your quick response.

    This would be the fiddle: https://fiddle.sencha.com/#fiddle/mru.

    It's working fine in 5.1.0; Should not work with 6.0.0, but I'm not able to select this version in fiddle.sencha.com

    Would it be enough for you to track it?
    Thanks
    Kind regards

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Vote Rating
    296
      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  5. #5
    Sencha Premium Member
    Join Date
    Mar 2010
    Location
    Sweden
    Posts
    15
    Vote Rating
    2
      1  

    Default

    Is there an override available for 5.1.1?

    Can't find EXTJS-17776 in nightly build 20150526, when will it be released?

  6. #6
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Vote Rating
    296
      1  

    Default

    This issue has been fixed for 5.1.2 (and 6.0.0) . I don't currently have a workaround for this.

  7. #7
    Sencha User
    Join Date
    May 2010
    Posts
    151
    Vote Rating
    3
      1  

    Default

    I just ran into this bug myself in 5.1.1.

    In my case I added objects(models) to a store but they only had a few parameters filled in, the rest was added from the server during the store.sync(). One of the empty fields were the grouping field, when I added data to it manually before adding the object to the store the problem went away.

    I then did this:

    Store.suspendEvents();
    // Add objects
    Store.Sync();
    Store.resumeEvents();

    And the problem went away, would this be considered a clean workaround?

  8. #8
    Sencha Premium Member
    Join Date
    Sep 2011
    Posts
    135
    Vote Rating
    143
      0  

    Default

    Hit this issue today when trying to migration from 4.0.7 to 5.1.1.

    Any date when 5.1.2 will be available? The code quality in Ext JS is still a major problem!

  9. #9
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Vote Rating
    296
      1  

    Default

    I don't currently have a date I can share with regards to 5.1.2, but I expect to have more information next week, which I will certainly post.

  10. #10
    Sencha Premium Member
    Join Date
    Sep 2011
    Posts
    135
    Vote Rating
    143
      0  

    Default

    Bug is indeed fixed in the nightly. I hope it does not take half a year for 5.1.2 to be released ...

Page 1 of 2 12 LastLast

Similar Threads

  1. [OPEN] Grouping by Null Value is Broken 4.2.2
    By jakejamessteele in forum Ext:Bugs
    Replies: 4
    Last Post: 12 May 2014, 7:22 AM
  2. Replies: 2
    Last Post: 22 Dec 2012, 8:27 AM
  3. [FIXED] Grouping grid on column with a null value
    By mheijink in forum Sencha GXT Bugs
    Replies: 2
    Last Post: 30 May 2012, 11:33 AM
  4. Grouping grid gives Erro: Ext.fly(rows[0]) is null
    By amichelin in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 30 Sep 2011, 11:27 AM
  5. Grouping Store with null values
    By taxidriver in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 4 Mar 2011, 2:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •