Forum > General

[CLOSED] Bug - "Access violation" when trying to remove a TSQLQuery with ...

(1/1)

paweld:
As bugtracker is currently offline, I report bug here to not forget.

The error occurs from the revision 64985: https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=64985
Tested on Lazarus trunk, Windows 10 and Debian 10.

Steps to reproduce:
1. put TSQLQuery on the Form
2. right mouse button on a sqlquery component
3. select "Edit Fields..."
4. create new field
5. close a "Edit Fields..." window
6. delete a SQLQuery component

JuhaManninen:

--- Quote from: paweld on July 24, 2021, 10:16:31 am ---The error occurs from the revision 64985: https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=64985
Tested on Lazarus trunk, Windows 10 and Debian 10.

--- End quote ---
That would be my commit: "Designer: When removing a component, remove its owned item declarations in source. Issue #38731."


--- Quote ---Steps to reproduce:
1. put TSQLQuery on the Form
2. right mouse button on a sqlquery component
3. select "Edit Fields..."
4. create new field
5. close a "Edit Fields..." window
6. delete a SQLQuery component

--- End quote ---
Yes, the create new field button does it. I think I have always added fields with the '+' button.
Reverting r64985 indeed fixes it. I must see what issue #38731 says. Reverting may not be enough.
I think the bugs are being transferred to GitLab. Waiting ...

paweld:
Fixed in commit: https://gitlab.com/freepascal.org/lazarus/lazarus/-/commit/b7ab9549a6476fe53ebc5ba048bf7eea49147a10
Thank @JuhaManninen

Navigation

[0] Message Index

Go to full version