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

Cannot specify options in QgsDataSourceURI #32832

Closed
strk opened this issue Nov 13, 2019 · 2 comments
Closed

Cannot specify options in QgsDataSourceURI #32832

strk opened this issue Nov 13, 2019 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@strk
Copy link
Contributor

strk commented Nov 13, 2019

The options parameter to QgsDatasourceURI is ignored, by code.
See #32822 (comment)

This issue is to add support for it, or discuss why it should be discarded
(I tried to use it to set current user)

\cc @jef-n

@strk strk added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Nov 13, 2019
strk added a commit to strk/QGIS that referenced this issue Nov 13, 2019
@jef-n
Copy link
Member

jef-n commented Nov 13, 2019

see #32822 (comment)

strk added a commit to strk/QGIS that referenced this issue Nov 15, 2019
Adds a "qgis_test_user" database users with the db setup script,
using an hard-coded password for connection.

This was the simplest way to make things work because the alternative
of using 'options' member in the URI is not supported by QGIS
at the moment, see qgis#32832
strk added a commit that referenced this issue Nov 15, 2019
Adds a "qgis_test_user" database users with the db setup script,
using an hard-coded password for connection.

This was the simplest way to make things work because the alternative
of using 'options' member in the URI is not supported by QGIS
at the moment, see #32832
backporting bot pushed a commit that referenced this issue Nov 15, 2019
Adds a "qgis_test_user" database users with the db setup script,
using an hard-coded password for connection.

This was the simplest way to make things work because the alternative
of using 'options' member in the URI is not supported by QGIS
at the moment, see #32832
nyalldawson pushed a commit that referenced this issue Nov 20, 2019
Adds a "qgis_test_user" database users with the db setup script,
using an hard-coded password for connection.

This was the simplest way to make things work because the alternative
of using 'options' member in the URI is not supported by QGIS
at the moment, see #32832
@strk
Copy link
Contributor Author

strk commented Feb 16, 2022

Closing as "ignored by design", due to:
QgsDebugMsg( QStringLiteral( "backend debug options ignored" ) ); being found in code

@strk strk closed this as completed Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

2 participants