Bug report #7739

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

Added by Minoru Akagi almost 11 years ago. Updated over 10 years ago.

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


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.

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

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 10 years ago

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


#1 Updated by Giovanni Manghi almost 11 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 10 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF