Bug report #7739

Main fields of joined table restored from project file are not editable

Added by Minoru Akagi over 6 years ago. Updated over 6 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:Vectors
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 #:16645

Description

steps to reproduce:
1. load a vector layer and a table
2. join them
3. save the project and then open the project
4. select the vector layer and go into edit mode
5. click one of the features with identify tool
6. open feature form
-> main fields (=not joined fields) in the attribute form are grayed out

The written qgs file has edittype tags with editable=0 as the follows.

<edittypes>
<edittype editable="0" type="0" name="id"/>
<edittype editable="0" type="0" name="name"/>
</edittypes>

On the other hand, the joined fields are editable despite the fact that they are not targets for editing.

Associated revisions

Revision d2b2bb18
Added by Matthias Kuhn over 6 years ago

fix editable attribute of joined fields (fix #7739)
Based on pull request 576 by minorua

History

#1 Updated by Giovanni Manghi over 6 years ago

  • Priority changed from Normal to Severe/Regression
  • Category set to Vectors

this does not happen on qgis 1.8, so it is a regression.

#3 Updated by Matthias Kuhn over 6 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF