Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offline editing to GPKG attribute order. Fixes #20276 #8600

Merged
merged 5 commits into from
Dec 11, 2018

Conversation

signedav
Copy link
Contributor

@signedav signedav commented Dec 4, 2018

Has been messed up, because of the additional fid.

Is fixed now by:
Leaving last attribute empty instead of first on creating the GPKG layer features.
Handling fid attribute in attrLookup mapping on synchronization back.

It fixes #20276

because though fid appears to be the first field it's added in the end and has the last index.

fixes qgis#20276
and use column++ again on iteration through attributes on copyVectorLayer

fixes qgis#20276 especially the not reported issue with synchronization
@luipir luipir changed the title [Bugfix] Offline editing to GPKG attribute order [Bugfix] Offline editing to GPKG attribute order. Fixes #20276 Dec 4, 2018
@signedav signedav changed the title [Bugfix] Offline editing to GPKG attribute order. Fixes #20276 [Bugfix] Offline editing to GPKG attribute order Dec 4, 2018
@signedav signedav changed the title [Bugfix] Offline editing to GPKG attribute order [Bugfix] Offline editing to GPKG attribute order. Fixes #20276 Dec 4, 2018
@m-kuhn m-kuhn closed this Dec 6, 2018
@m-kuhn m-kuhn reopened this Dec 6, 2018
@m-kuhn m-kuhn changed the title [Bugfix] Offline editing to GPKG attribute order. Fixes #20276 Offline editing to GPKG attribute order. Fixes #20276 Dec 6, 2018
@m-kuhn m-kuhn added the Bugfix label Dec 6, 2018
@m-kuhn m-kuhn merged commit bec04c1 into qgis:master Dec 11, 2018
@m-kuhn
Copy link
Member

m-kuhn commented Dec 11, 2018

Backport?

@signedav
Copy link
Contributor Author

Yes. Will follow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants