Bug Report T152838
Visible to All Users

Server Mode - "List index out of bounds" error occurs when calling View's DataController.Groups.LoadRecordIndexes method  

created 11 years ago

Hello,

In my sample project I am using unidac components to connect to MSSQL database.
I have also attached my implementation of unidac server mode data query component (directory DevEx press)
and sample query to provide some data for testing.

Please open XE3 project and modify connection settings to conect to your database.
Run attached script to create necessary object and data.
After run application group data on datayear and datamonth.
Focus last group (column datayear) and do not expand child group.
Press Button1 to get list of records in group.
You will get error - "index out of bounds …"

Best regards
Tomasz Andrzejewski

Show previous comments (1)
AK AK
Andrzej Kulakowski 11 years ago

    Hello,
    It is part of our internal rules in application. User can select record from group and than e.g delete them (based on Id i want to get using (DataGroupIndexByRowIndex, GetRowIndexByRecordIndex, etc.) )
    I know that this operation can take a time - but this is up to end user.
    Main problem is that I can not get id using top group
    Group1 (got error trying to get id)
      -- Group 2 (works ok)
    Best regards
    Tomasz Andrzejewski

    AK AK
    Andrzej Kulakowski 11 years ago

      Where can I find hotfix?

      DevExpress Support Team 11 years ago

        The hot fix is just published. You are welcome to download and test it.

        Answers approved by DevExpress Support

        created 11 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.