planetfederal / qgis-geogig-plugin

A plugin to manage and use GeoGig repositories from QGIS
GNU General Public License v2.0
9 stars 8 forks source link

Changes to layer are not saved after opening layer from branch #28

Closed mtCarto closed 8 years ago

mtCarto commented 8 years ago

When switching branches the view refreshes correctly, but when edits are made on branch2 (after switching from branch1) the edits are not retained. Using the Open repository in QGIS on branch2 has the same result.

For attribute edits: Make an attribute table change, save edits, toggle editting, and close the table window. The edits are lost once the window closes.

For geometry edits: Toggle editing, add a new feature, draw some feature and click save. The new feature is lost when the save button is clicked.

Workaround: Remove the existing layer, then use Open repository in QGIS to open branch2, now edits will be saved and can be committed to repository.