Filtered DataView issue in 4.50

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
AG
Posts: 13
Joined: Tue 11 Mar 2008 11:26

Filtered DataView issue in 4.50

Post by AG » Sat 15 Mar 2008 08:03

Hello

I ran into issue with filtered DataView which appears in MyDirect 4.50.
In my project I use DataLink with filter applied. DataGridView shows 7 records. When I edit last record and after editing this record is not fall into filter criteria an empty line appears at last row position of DataGridView. At this point DataLink.Count = 6 (and this is correct), but DataLink.Position is also 6 and DataLink.Current throws IndexOutOfRangeException.
Anyway if edited row is not last, extra empty line appears in DataGridView.

In version 4.30 after described steps Position = 5.

Alexey.mdr
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Post by Alexey.mdr » Mon 17 Mar 2008 10:09

Please send me a small test project to reproduce the problem.
It is desirable to use 'test' schema objects, otherwise include the
definition of your own database objects.
Do not use third party components.
If it is impossible for you to create the test project, send us a piece of
your code where the error occurs.

AG
Posts: 13
Joined: Tue 11 Mar 2008 11:26

Post by AG » Tue 18 Mar 2008 17:47

Hi Alexey

I have sent you test project, but could you please next time include in your 'standard customer reply' email address :) I had to surf this forum to find it.

Alexey.mdr
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Post by Alexey.mdr » Wed 19 Mar 2008 08:42

There is a hyperlink to the email address beyond each post.
Could you please resend the project to this email: alexeyman*crlab*com?

AG
Posts: 13
Joined: Tue 11 Mar 2008 11:26

Post by AG » Wed 19 Mar 2008 09:07

1. I don't see any email links, probably they are visible to moderators only?
What I see are link to profile and link to PM (which is disabled on forum).
Anyway - email in your profile is empty, so what should I see?

2. I sent my project exactly on mentioned email yesterday.

Alexey.mdr
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Post by Alexey.mdr » Wed 19 Mar 2008 13:33

The error has been reproduced.
We are investigating this problem.
I will notify you on the result by email.

AG
Posts: 13
Joined: Tue 11 Mar 2008 11:26

Post by AG » Mon 26 May 2008 04:58

Hi Alexey

This bug was not fixed completely in 4.50.27
You fixed issue with editing, but when user inserts new record in filtered DataLink and new record does not meet filter, the same IndexOutOfRangeException occurs.

P.S. Do you test MyDirect before release?

Alexey.mdr
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Post by Alexey.mdr » Tue 27 May 2008 16:51

Yes, we do test builds before the release. Sorry, that the bug has been solved only partially.
Could you please send me a test project, as the problem is not reproducible neither on the previous project nor on the newly created one.
We will put a priority on your request and try to solve the new bug as soon as possible.

AG
Posts: 13
Joined: Tue 11 Mar 2008 11:26

Post by AG » Wed 28 May 2008 20:39

Hi Alexey,

Please check your mail.

Alexey.mdr
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Post by Alexey.mdr » Thu 29 May 2008 11:48

Hello,

I have received the email with attachments.
I will let you know on any results available in the nearest hours.

Alexey.

Post Reply