Bug report #14191

virtual fields not re-created when duplicating a layer

Added by Mathieu Pellerin - nIRV about 8 years ago. Updated about 8 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Virtual Fields
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:22193

Description

When a layer is duplicated via the "Duplicate layer" menu item, virtual fields are not re-created in the newly added (duplicated) layer.

Steps to reproduce
  1. Add a vector layer to an empty project
  2. Open the layer properties window, go to the field panel
  3. Add a virtual field (any expression will do)
  4. Apply the settings and leave the properties window
  5. Right-click on the layer, and select the duplicate item
  6. Open the properties window of the newly-created layer, and notice the absence of virtual field(s).

Associated revisions

Revision 57b5eb95
Added by Matthias Kuhn about 8 years ago

On duplicate copy join and virtual fields

Fixes #14191

History

#1 Updated by Anonymous about 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF