Page 1 of 1

NRE in PgSqlDataTable descendant when deleting UpdateCommands

Posted: Sun 09 Oct 2016 17:09
by chris901
Hello,

Postgres 9.5 and latest dotConnect version installed.

Steps to reproduce:

1. Create a descendant of PgSqlDataTable:

Code: Select all

    public partial class MyDataTable : Devart.Data.PostgreSql.PgSqlDataTable
    {
        public MyDataTable()
        {
        }
    }
2. Drop a MyDataTable on the form and connect them with PgSqlConnection

3. Insert SelectCommand:

Code: Select all

select * from actors
4. Create Columns
Image

5. Insert custom Insert / Update / Delete Command in the UpdateCommands tab in Editor:
Image

6. Close the Editor with OK so the command gets created.

7. Open Editor again and delete the command using the remove button
Image


This works fine with the standard PgSqlDataTable

Re: NRE in PgSqlDataTable descendant when deleting UpdateCommands

Posted: Tue 11 Oct 2016 14:04
by Pinturiccio
We have reproduced the issue. We will investigate it and post here about the results as soon as possible.

Re: NRE in PgSqlDataTable descendant when deleting UpdateCommands

Posted: Wed 19 Oct 2016 11:22
by Pinturiccio
We have fixed the bug with throwing NRE in PgSqDataTable descendants when removing the insert command. We will post here when the corresponding build of dotConnect for PostgreSQL is available for download.

Re: NRE in PgSqlDataTable descendant when deleting UpdateCommands

Posted: Fri 21 Oct 2016 14:09
by Pinturiccio
New build of dotConnect for PostgreSQL 7.6.763 is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/postgr ... nload.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to viewtopic.php?t=34456