Crash using extensions if selected object has no id.
Steps to reproduce:
- open Inkscape
- draw a rectangle
- open the xml editor
- delete the id attribute of the rectangle
- keep the rectangle selected
- run an extension (e.g. Render > Wireframe Sphere)
What should have happened?
- no crash.
- Ideally an id is auto-generated for the object (so it can remain selected), but not crash is good enough
- error message
Sample attachments: inkscape_backtrace-no-id-extension.txt
Inkscape 1.2-dev (f8bc0fb9c8, 2021-04-12) Linux Mint 20 Inkscape 0.92.5 (0ad1ac969f, 2020-08-06) Linux Mint 20
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information