Bug Report Q472180
Visible to All Users

UI.Web - A callback updates columns in two rows in inline edit mode (before saving)

created 12 years ago

Hello XAF Team,
In Web UI, I found a bug in 'inline edit' mode of list views:
- Create a new row in 'inline' mode. After callback is performed, save it. <== OK.
- Create another new row in 'inline' mode. After callback is performed, two rows of the same column(s) are updated by the callback. <== Bug

Note: In Win UI, the same scenario works without any issue.
To learn how to re-produce the above bug, please see the attached VS2010 + v12.2.6 solution, as well as the ListViewImmediatelyPostData_DuplicatedCellValues.mp4 screen video.
UPDATE: 'Log' column is used for demo purpose. In real business scenarios, 'Log' column may stand for 'Unit of Measure', 'Discount
Amount', 'Currency Rate', etc. End users need to change the default value (calculated by ImmediatePostData).

In short (April 9, 2013): After inserting a new row (the second, the third or the fourth, etc.), the same 'target' column in another previously-saved row is also affected by the callback triggered in the new row.

Regards,
James

Answers approved by DevExpress Support

created 12 years ago (modified 12 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.

    Show previous comments (6)

      Thanks Konstantin for your prompt fix to the second callback issue (introduced in 12.2.8.13119). As for the first issue, I've created a separate support ticket as you suggested.

        I have to leave this support ticket as 'open', because I failed to test if the original issue 'Callback updates columns in multiple rows in inline edit mode of list views, Web UI' was really fixed, because of the application crash issue (I just requested a latest hot-fix, so that I can test if the original issue was also fixed).

        DevExpress Support Team 12 years ago

          Thank you for informing us. Do not hesitate to reactivate this ticket if the problem still persists after installing the hot fix.

          created 12 years ago (modified 12 years ago)

          Hi James,
          Thank you for contacting us.
          It seems that this problem is related to the UI.Web - Callback is not triggered when immediately saving in inline edit mode (input focus kept before saving) one and I have not managed to reproduce it after making the Log column read-only. Do not hesitate to contact me in case of further difficulties.

            Show previous comments (7)

              Thanks Konstantin for your clarification. I'll wait for your updates.

                Any news on this issue?

                Anatol (DevExpress) 12 years ago

                  I am afraid that we do not have any updates yet. It appears that the problem cannot be easily fixed, so we cannot guarantee a fix in the next minor. Please stay tuned.

                  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.