Page 1 of 1

No exception on failure to prepare using version 10.1.2

Posted: Mon 09 Dec 2019 10:27
by upscene
Hi,

The latest version of MyDAC doesn't raise a proper exception when .Prepared = True fails.

Using MySQL 5.7, I did the following:
- Put a TMyConnection on a form, make sure it can connect to a database
- Put a TMyQuery on a form, enter SQL like 'select * from unexisting_table'
- Put a TButton on the form, in OnClick: MyQuery1.Prepared := True

This raises an exception with an empty error message.

If you use MyQuery1.Open; instead, it raises the proper error message.

btw, this is a basic functionality failure, may I suggest high priority on fixing and releasing this?

With regards,

Martijn Tonies

Re: No exception on failure to prepare using version 10.1.2

Posted: Mon 09 Dec 2019 15:38
by ViktorV
Thank you for the information. We have reproduced and fixed the issue. This fix will be included in the next build of MyDAC.
We can send you the nightly build of MyDAC that includes the fix. If you'd like to receive the nightly build, please send us your license key and the IDE version number.
For your convenience, please use the e-support form https://www.devart.com/company/contactform.html

Re: No exception on failure to prepare using version 10.1.2

Posted: Wed 08 Jan 2020 08:30
by upscene
As explained via e-mail, nightly builds can't be used.

Any idea when the new release is coming - this is a basic functionality failure.

With regards,

Martijn

Re: No exception on failure to prepare using version 10.1.2

Posted: Wed 08 Jan 2020 14:43
by ViktorV
We're planning to release a new build of MyDAC in the first quarter of this year.

Re: No exception on failure to prepare using version 10.1.2

Posted: Mon 20 Jan 2020 08:36
by upscene
'first quarter', that can be anything between now and 3 months.

This is a basic functionality failure.

Combine this with the PostgreSQL components that can't access the latest PostgreSQL version and people can be in a bind: using this version results in a serious MySQL issue, using the previous version and you can't access Postgres.

Please run the tests and release soon.

With regards,

Martijn

Re: No exception on failure to prepare using version 10.1.2

Posted: Mon 20 Jan 2020 15:55
by ViktorV
We're planning to release a DAC build in February, but we told you earlier we were going to release it in the first quarter just in case the release date would be moved to March due to some unexpected reasons.

Re: No exception on failure to prepare using version 10.1.2

Posted: Sat 22 Feb 2020 16:44
by JeanSmith
Thanks, this is exactly what I was looking for
I had the same problem

Re: No exception on failure to prepare using version 10.1.2

Posted: Wed 26 Feb 2020 11:35
by ViktorV
We're planning to release a new build of MyDAC at the beginning of Match.

Re: No exception on failure to prepare using version 10.1.2

Posted: Wed 26 Feb 2020 11:55
by upscene
This is taking too long. :-(