Bug report #11677

Access violation when removing layer which is in the composer legend

Added by Miroslav Umlauf over 9 years ago. Updated over 9 years ago.

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

Description

When removing layer which is in the print composer legend QGIS comes with "Access violation" window and makes impossible to continue.

removing_layer_issue.PNG (81.4 KB) Miroslav Umlauf, 2014-11-17 08:33 PM

History

#1 Updated by Miroslav Umlauf over 9 years ago

"Access violation" happens at the moment when print composer is open (if is open then immediately). If composer is not open and I try save project after removing layer, QGIS crashes and also corrupt the project file so it can't be open anymore.

#2 Updated by Miroslav Umlauf over 9 years ago

It seems it is only issue with legend created in version 2.4., if I create new legend in 2.6 it works as expected.

#3 Updated by Miroslav Umlauf over 9 years ago

  • Status changed from Open to Closed

Updated as #11774

Also available in: Atom PDF