Drag & Drop method store the filepath in the database
jpdupuy opened this issue · 5 comments
jpdupuy commented
domi4484 commented
@jpdupuy thank you for the feedback!
Do you dropped the file in the document relation editor widget or directly in the document form on the attachment widget?
I just tried directly on the attachment widget and it does not take care of the default path when dropping a file.
jpdupuy commented
I used both methods (see the 2 snapshots).
drag & drop : I get the full path
attachement : I get the relative path
domi4484 commented
Yes what I meant is if you drag&dropped the file into the document relation editor widget (coming from the plugin) or into the attachment widget (coming from QGIS).
It seems the bug is in QGIS itself.
domi4484 commented
@jpdupuy fix submitted in the QGIS project: qgis/QGIS#44798