You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable Tracking on Line Feature Layer, fill in attributes and add photos to gallery on child table
Save photos in child table and save parent line layer (log message popup appears on canvas)
Go to line layer and stop tracking
Result: Parent and child is saved, however track geometry is not saved for line feature
Expected behavior
Track is visible on canvas for feature after tracking is stopped
Observed behavior
If i manually draw the line feature on map canvas and attach photos the changes will save correctly.
If i use tracking to create the line but don't attach a photo it will save correctly. I can also then later edit it and save photos.
If i use tracking and attach a photo the attributes are saved to both tables (Line layer + Photo table) but the actual geometry is not recorded against the line feature.
Logs:
--Layer "Track" cannot be commited with the newly created feature -4. Reason: ERROR: 1 feature(s) not added.
Provider errors: OGR error creating feature -4: failed to execute insert : UNIQUE constraint failed: tracks_ca86a9fa_10cc_4901_9263_2f5c8c361ea0.fid_1
--Unbalanced call to leaveUpdateMode() w.r.t. enterUpdateMode()
--Could not save changes. Rolling back.
--Commit errors: ERROR: 1 feature(s) not added.
Describe the issue
Geometry is not saved when using Tracking function and saving images to 'Gallery' (Parent/Child)
Reproduction steps
Steps to reproduce the behavior:
Expected behavior
Track is visible on canvas for feature after tracking is stopped
Observed behavior
If i manually draw the line feature on map canvas and attach photos the changes will save correctly.
If i use tracking to create the line but don't attach a photo it will save correctly. I can also then later edit it and save photos.
If i use tracking and attach a photo the attributes are saved to both tables (Line layer + Photo table) but the actual geometry is not recorded against the line feature.
Logs:
--Layer "Track" cannot be commited with the newly created feature -4. Reason:
ERROR: 1 feature(s) not added.
Provider errors:
OGR error creating feature -4: failed to execute insert : UNIQUE constraint failed: tracks_ca86a9fa_10cc_4901_9263_2f5c8c361ea0.fid_1
--Unbalanced call to leaveUpdateMode() w.r.t. enterUpdateMode()
--Could not save changes. Rolling back.
--Commit errors:
ERROR: 1 feature(s) not added.
Provider errors:
OGR error creating feature -4: failed to execute insert : UNIQUE constraint failed: tracks_ca86a9fa_10cc_4901_9263_2f5c8c361ea0.fid_1
Screenshots and GIFs
QGIS (please complete the following information)
QField (please complete the following information)
Additional information
[If the problem happened with QFieldCloud, please add your username and project name.]
The text was updated successfully, but these errors were encountered: