QgsPoint.clone() not fully reliable? It's original QgsFeature may get corrupted? #28481
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
PyQGIS
Related to the PyQGIS API
Regression
Something which used to work, but doesn't anymore
Author Name: Juan Manuel Perez (@juanmpd)
Original Redmine Issue: 20661
Affected QGIS version: 3.5(master)
Redmine category:python_bindings_/_sipify
We have stumbled upon an strange problem and reproducible problem. We attach a plugin to reproduce it.
The problem arises in this circumstances:
p=.![iteration_screenshot.png](https://camo.githubusercontent.com/1f07d86c768b27c3faed2db9f8d37d58a5a2e1b6978cec11d3d6f6ad44566593/68747470733a2f2f6973737565732e716769732e6f72672f6174746163686d656e74732f646f776e6c6f61642f31333836332f697465726174696f6e5f73637265656e73686f742e706e67)
p=.![debugging_screenshot.png](https://camo.githubusercontent.com/54fc4f0aafabc7c72dba936e62b895e117ac9bbf7a22a1314efccc2adaff9e27/68747470733a2f2f6973737565732e716769732e6f72672f6174746163686d656e74732f646f776e6c6f61642f31333836342f646562756767696e675f73637265656e73686f742e706e67)
How to reproduce it
We have prepared a plugin to easily reproduce the issue. We have attached as 'issuePlugin.zip' to this bug report.
You only need to install it in QGis. Then, a toolbar with a spider will appear (see above screenshots). You only need to click this icon. A dialog will open, showing how the test iterates until the unexpected exception is raised.
We have tested it in Qgis 3.5 MASTER and 3.4.1.
The text was updated successfully, but these errors were encountered: