Bug report #15830

Only synchronize selected features option not working

Added by Peter Wells about 4 years ago. Updated almost 4 years ago.

Category:C++ plugins/Offline editing
Affected QGIS version:2.18.0 Regression?:No
Operating System:Windows x64 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:23750


Hi there!

The new 'Only synchronize selected features if a selection is present' option doesn't appear to work:

Steps to reproduce:

1. Open a PostGIS layer
2. Make a selection of features
3. Offline the project, checking the 'Only sync..' option

Expected behaviour: An offline layer with just my selected features
Actual behaviour: An offline layer of the whole source layer

(more info below).

Please let me know if there's anything else I can provide to help,

Kind regards,


Platform: Windows 7 x64, QGIS installed with the standalone installer

QGIS version
QGIS code revision
Compiled against Qt
Running against Qt
Compiled against GDAL/OGR
Running against GDAL/OGR
Compiled against GEOS
Running against GEOS
3.5.0-CAPI-1.9.0 r4084
PostgreSQL Client Version
SpatiaLite Version
QWT Version
PROJ.4 Version
QScintilla2 Version

PostGIS info:
Version string PostgreSQL 9.5.1, compiled by Visual C++ build 1800, 64-bit
"POSTGIS="2.2.1 r14555" GEOS="3.5.0-CAPI-1.9.0 r4090" PROJ="Rel. 4.9.1, 04 March 2015" GDAL="GDAL 2.0.1, released 2015/09/15" LIBXML="2.7.8" LIBJSON="0.12" RASTER"

Table definition:

-- Table: td.settlements

-- DROP TABLE td.settlements;

CREATE TABLE td.settlements
id integer NOT NULL DEFAULT nextval('td.settlements_id_seq'::regclass),
geom geometry(MultiPoint,27700),
code integer,
legend character varying(42),
file_name character varying(16),
"number" double precision,
name character varying(180),
number0 character varying(64),
admin_name character varying(50),
type character varying(40),
ferry_from character varying(50),
ferry_to character varying(50),
ferry_time character varying(10),
ferry_type character varying(20),
restrictio character varying(20),
access character varying(30),
amended date,
usage character varying(64),
location character varying(30),
gis character varying(80),
owner character varying(60),
north character varying(60),
south character varying(60),
east character varying(60),
west character varying(60),
clockwise character varying(60),
anticlockw character varying(60),
imperial integer,
metric integer,
d date,
CONSTRAINT settlements_pkey PRIMARY KEY (id)
ALTER TABLE td.settlements
OWNER TO postgres;

-- Index: td.idx_settlements_legend

-- DROP INDEX td.idx_settlements_legend;

CREATE INDEX idx_settlements_legend
ON td.settlements
USING btree
(legend COLLATE pg_catalog."default");

-- Index: td.sidx_settlements_geom

-- DROP INDEX td.sidx_settlements_geom;

CREATE INDEX sidx_settlements_geom
ON td.settlements
USING gist

Associated revisions

Revision ed5a2bca
Added by Matthias Kuhn almost 4 years ago

[offlineediting] Fix only synchronize selected features option

Fix #15830

Revision ddaf68ef
Added by Matthias Kuhn almost 4 years ago

[offlineediting] Fix only synchronize selected features option

Fix #15830


#1 Updated by Anonymous almost 4 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF