Bug report #12824

Multiple (related) tables in editing mode crashes

Added by Mart Grommen about 5 years ago. Updated almost 5 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Edit widget
Affected QGIS version:2.8.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:not reproducable
Crashes QGIS or corrupts data:Yes Copied to github as #:20920

Description

Hello all,
thanks to QGIS we were able to create a very detailed qgis project with multiple connections between database tables. Wonderful program! Thanks a lot!

We are working in QGIS 2.8.1.

What we did is creating relations between link tables and other tables with many to many relations. When doing so it is possible to click from one feature form in one table to the related feature form in the other table (from information sheet to information sheet).
An example:
We digitize roads.
A cable can be linked to that road if this cable is localized there. (1 cable can be linked to multiple roads, and 1 road can be linked to multiple cables > many to many relation).
Secondly, also tubes can be linked to a road (1 tube to multiple roads, or 1 road with multiple tubes).
In a tube cables can occur (1 cable in multiple tubes or 1 tube with multiple cables).
- What is the bug?
When assigning a relation between tube and cable, when the tube is already related to the road and the road table is in editing mode, QGIS crashes when editing in the link table of tube and cable..
It seems that QGIS crashes on editing in related tables if the first table is in editing mode as well.
The error cannot be always reproduced, but in many times this crash occurs.

History

#1 Updated by Saber Razmjooei about 5 years ago

  • Status changed from Open to Feedback

Could you provide some example data?

#2 Updated by Giovanni Manghi about 5 years ago

Saber Razmjooei wrote:

Could you provide some example data?

agree, this is a pretty advanced project setup. Without a minimal project (with data) it would be hard to replicate.
Anyway, please test qgis master too.

#3 Updated by Giovanni Manghi about 5 years ago

  • Priority changed from Normal to High

#4 Updated by Giovanni Manghi almost 5 years ago

  • Resolution set to not reproducable
  • Status changed from Feedback to Closed

Closing for lack of feedback. Reopen if necessary.

Also available in: Atom PDF