planetfederal / qgis-geogiglight-plugin

GNU General Public License v2.0
19 stars 9 forks source link

python error in "merge conflicts" dialog after deleting a feature #52

Closed gioman closed 8 years ago

gioman commented 8 years ago
Traceback (most recent call last):
  File "C:/Users/qgis/.qgis2/python/plugins\geogig\gui\dialogs\conflictdialog.py", line 163, in treeItemClicked
    self.updateCurrentPath()
  File "C:/Users/qgis/.qgis2/python/plugins\geogig\gui\dialogs\conflictdialog.py", line 169, in updateCurrentPath
    self.showFeatureAttributes()
  File "C:/Users/qgis/.qgis2/python/plugins\geogig\gui\dialogs\conflictdialog.py", line 271, in showFeatureAttributes
    values = (conflictItem.origin[name], conflictItem.local[name], conflictItem.remote[name])
TypeError: 'NoneType' object has no attribute '__getitem__'
volaya commented 8 years ago

This is a known limitation, the case where a feature has been both modified and deleted... I will work on that

gioman commented 8 years ago

Fix confirmed.