Bug report #14191
virtual fields not re-created when duplicating a layer
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- Add a vector layer to an empty project
- Open the layer properties window, go to the field panel
- Add a virtual field (any expression will do)
- Apply the settings and leave the properties window
- Right-click on the layer, and select the duplicate item
- Open the properties window of the newly-created layer, and notice the absence of virtual field(s).
Associated revisions
On duplicate copy join and virtual fields
Fixes #14191
History
#1 Updated by Anonymous almost 9 years ago
- Status changed from Open to Closed
Fixed in changeset 57b5eb954ef988489456fcd14b236bb784d150a2.