Bug report #11827

Converting offline permanently removes edit types (field ui widgets) from layer.

Added by Drew Nix almost 10 years ago. Updated almost 10 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:C++ plugins/Offline editing
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:No Copied to github as #:20045

Description

Converting offline permanently removes edit types (field ui widgets) from layer.

Steps to reproduce:
Add postgis layer.
Apply edit type with Value map to field in layer properties.
Convert layer offline.
[edit type is missing from layer]
Syncronize from offline state.
[edit type is still missing from layer]

This is preventing users from upgrading as the functionality worked in previous versions (2.0 or 2.2).

Associated revisions

Revision 4938fe79
Added by Jürgen Fischer almost 10 years ago

offline editing: add layer to map layer registry before
copying the symbology - otherwise edit widget settings
won't be copied (fixes #11827)

History

#1 Updated by Giovanni Manghi almost 10 years ago

  • OS version deleted (7)
  • Operating System deleted (Windows)
  • Target version set to Version 2.8
  • Priority changed from High to Severe/Regression

#2 Updated by Jürgen Fischer almost 10 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF