Bug report #16465
Unable to create new bookmarks
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | - | ||
Category: | Map Tools | ||
Affected QGIS version: | master | Regression?: | Yes |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | Yes | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 24374 |
Description
Trying to create a new spatial bookmark in QGIS 2.99 will fail and the following message shows:
Unable to create the bookmark.
Driver:Parameter count mismatch
Database:
Associated revisions
Fix new bookmark query. Fix #16465
QSqlQuery was returning an error : wrong parameters count.
It seems that bindValue was having no effect (no bounded values).
Using prepare after construction seems to solve the problem.
History
#1
Updated by Giovanni Manghi almost 8 years ago
- Category set to Map Tools
- Target version set to Version 3.0
#2
Updated by Arnaud Morvan almost 8 years ago
Pull request proposed : https://github.com/qgis/QGIS/pull/4447
#3
Updated by Giovanni Manghi almost 8 years ago
- Regression? set to Yes
#4
Updated by Giovanni Manghi almost 8 years ago
- Priority changed from Severe/Regression to High
#5
Updated by Giovanni Manghi almost 8 years ago
- Easy fix? set to No
#6
Updated by Alexander Bruy almost 8 years ago
- Description updated (diff)
- Pull Request or Patch supplied changed from No to Yes
#7
Updated by Arnaud Morvan almost 8 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset qgis|aea21306edc1ac6c597de573a0d6341dcadee661.
#8
Updated by Giovanni Manghi almost 8 years ago
- Resolution set to fixed/implemented