Ticket #1126 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

PostGIS default Styles do not save public shema

Reported by: hdus Owned by: jef
Priority: major: does not work as expected Milestone:
Component: Map Legend Version: Trunk
Keywords: Style Cc:
Platform Version: Platform: All
Must Fix for Release: Yes Awaiting user input: no

Description

PostGIS Styles saved in ~/.qgis/qgis.db are not saved correctly in all cases. For all PostGIS layers residing in public schema the schema name is not saved in the db connection information of column style in table tbl_styles. Under some cirumstances this leeds to non loadable style definition.

Change History

in reply to: ↑ description ; follow-up: ↓ 2   Changed 5 years ago by jef

  • status changed from new to assigned

Replying to hdus:

For all PostGIS layers residing in public schema the schema name is not saved in the db connection information of column style in table tbl_styles. Under some cirumstances this leeds to non loadable style definition.

The current schema should be stripped everywhere. Which cases are not covered?

in reply to: ↑ 1   Changed 5 years ago by hdus

Replying to jef:

Replying to hdus:

For all PostGIS layers residing in public schema the schema name is not saved in the db connection information of column style in table tbl_styles. Under some cirumstances this leeds to non loadable style definition.

The current schema should be stripped everywhere. Which cases are not covered?

The case when Layer is loaded with table="public"."tablename" by Python-Script is not covered.

  Changed 5 years ago by jef

  • status changed from assigned to closed
  • resolution set to fixed

fixed in r8654

Note: See TracTickets for help on using tickets.