ICEfaces
  1. ICEfaces
  2. ICE-8064

When using the GroupBy attribute of the ace:column without the sortBy attribute, a null pointer exception is thrown.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1.0.BETA2, 3.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Icefaces 3.1.0.ALPHA1 at Williams.
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      When using the GroupBy attribute of the ace:column without the sortBy attribute, a null pointer exception is thrown. The groupBy should be used for sorting when the sortBy is not present.

      Specifically, when a column is specified in the groupBy, then no sorting controls should be rendered, and a sort is implied.

      It's not clear how the sort order will be determined, and clearly the user will not be able to change the sort order used by the grouping directly with this change.

        Activity

        Hide
        Nils Lundquist added a comment -

        Revision #29151
        Committed by nils.lundquist
        Moments ago
        ICE-8064 - setting groupBy for a column now behaves as if sortBy was also identically set for that column. This was previously a app level requirement.

        Show
        Nils Lundquist added a comment - Revision #29151 Committed by nils.lundquist Moments ago ICE-8064 - setting groupBy for a column now behaves as if sortBy was also identically set for that column. This was previously a app level requirement.
        Hide
        Ken Fyten added a comment -

        Need to update the showcase Grouping demo to remove the sortBy usage which is no longer necessary.

        Show
        Ken Fyten added a comment - Need to update the showcase Grouping demo to remove the sortBy usage which is no longer necessary.
        Hide
        Nils Lundquist added a comment -

        Revision #29341
        Committed by nils.lundquist
        Moments ago
        ICE-8064 - Removed now unneeded sortBy from grouped column showcase example.

        Show
        Nils Lundquist added a comment - Revision #29341 Committed by nils.lundquist Moments ago ICE-8064 - Removed now unneeded sortBy from grouped column showcase example.

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Pierre Masse
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: