NRE in PgSqlDataTable descendant when deleting UpdateCommands

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
chris901
Posts: 64
Joined: Wed 20 Jul 2016 04:21

NRE in PgSqlDataTable descendant when deleting UpdateCommands

Post by chris901 » Sun 09 Oct 2016 17:09

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

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: NRE in PgSqlDataTable descendant when deleting UpdateCommands

Post by Pinturiccio » Tue 11 Oct 2016 14:04

We have reproduced the issue. We will investigate it and post here about the results as soon as possible.

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: NRE in PgSqlDataTable descendant when deleting UpdateCommands

Post by Pinturiccio » Wed 19 Oct 2016 11:22

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.

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: NRE in PgSqlDataTable descendant when deleting UpdateCommands

Post by Pinturiccio » Fri 21 Oct 2016 14:09

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

Post Reply