Bug report #14983

relation editor widget in custom form can cause crash

Added by Andrew McAninch over 4 years ago. Updated about 3 years ago.

Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:Yes Copied to github as #:22932


If the qgisRelation property of the QgsRelationEditorWidget is not defined correctly in the .ui file then opening a custom attribute form with a value relation widget causes QGIS crashes. This does not happen in 2.8.9 but does happen in 2.14.3 and master.

I have only tested this on Windows 7, using OSGeo4W 64-bit.

This is possibly related to bug report #14956.


#1 Updated by Matthias Kuhn over 4 years ago

  • Status changed from Open to Feedback

Can you check if this is still the case with the latest nightly build?

I think this has been solved with 02d80425ac7af14e7c6c2851a20c8d3aebb3770e

#2 Updated by Andrew McAninch over 4 years ago

Excellent, problem solved. Thanks!

#3 Updated by Giovanni Manghi about 4 years ago

  • Resolution set to fixed/implemented
  • Status changed from Feedback to Closed

#4 Updated by Andrew McAninch about 4 years ago

  • Status changed from Closed to Reopened

Can this fix be backported to the LTR? I started doing work on forms again today and found that 2.14.5 is still crashing with a incorrect value relation.

#5 Updated by Giovanni Manghi over 3 years ago

  • Priority changed from Normal to High

#6 Updated by Giovanni Manghi over 3 years ago

  • Status changed from Reopened to Closed

it should be in 2.18.4

#7 Updated by Jürgen Fischer about 3 years ago

  • Category set to Unknown

Also available in: Atom PDF