roam-qgis / Roam

Simple data collection built using QGIS.
http://roam-docs.readthedocs.org/en/latest/
GNU General Public License v2.0
169 stars 61 forks source link

Image widget records dummy filename even when image not captured #415

Closed she-weeds closed 5 years ago

she-weeds commented 6 years ago

With the image widget I'm observing that after saving a feature (whether editing an imported one or inserting a new feature), ROAM appears to insert an auto generated image filename with a timestamp even if no image is captured (or indeed even if the device has no camera attached). There is no easy way to distinguish dummy filenames from actual image filenames.

When opening up the saved feature in ROAM indeed there is a blank "image" - in the preview sidebar when selecting a feature, it comes up as a web style blue ? box, and in the opened form it's blank with the option of deleting/retaking/editing the "image" as you would if there was an actual image file. See images below. roam_blankimage roam_blankimageq

Opening up the resultant shapefile shows this dummy value in the image field (the null entries were imported but not edited) roam_blankimager

So far this has been an issue with ROAM 2.6 and was not an issue in 2.4.x versions (have not yet tested 2.5.x)

Reproduced on various desktop computers and Toughpads. Haven't found any reference to this issue so far...

she-weeds commented 5 years ago

Issue fixed in 2.7, thank you devs.