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

Copy constructor of QgsDataSourceURI does not work #15075

Closed
qgib opened this issue Apr 18, 2012 · 1 comment
Closed

Copy constructor of QgsDataSourceURI does not work #15075

qgib opened this issue Apr 18, 2012 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@qgib
Copy link
Contributor

qgib commented Apr 18, 2012

Author Name: Tamas Szekeres (@szekerest)
Original Redmine Issue: 5410
Affected QGIS version: master


The copy constructor currently copy the mParams attribute, but doesn't copy the attributes initialized by the QString constructor.
For this reason the following code does not work correctly:

QgsDataSourceURI uri = QgsDataSourceURI( srcUriString );

Problem was introduced by d7e8ae1

This problem breaks the MSSQL provider and probably some others as well


Related issue(s): #15073 (relates), #15074 (relates)
Redmine related issue(s): 5407, 5409


@qgib
Copy link
Contributor Author

qgib commented Apr 18, 2012

Author Name: Jürgen Fischer (@jef-n)


reverted in e5d97f5


  • resolution was changed from to fixed
  • status_id was changed from Open to Closed

@qgib qgib added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 24, 2019
@qgib qgib closed this as completed May 24, 2019
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

1 participant