Skip to content

"reuse last entered value" not working for attachment/photos fields #4487

@gioman

Description

@gioman

App version 2026.2.0

Description:

form with more than one filed for photos. In out case 2 (say A and B) of them are mandatory.

The user start adding a new (point) feature (id 1) and take the picture for field A, checking the "reuse last entered value" checkbox, then fill the other fields and also take photo for field B.

After finishing id=1 the user surveys another point (id=2): the picture for field A is already in place, as is re-using the one taken previously.

At this point the user syncs edits, no errors.

If someone now syncs on QGIS Desktop sees being downloaded 3 photos, as expected

Image

but now inspecting the data the picture for field A in record id=1 is missing

Image

because simply the file does not exists. Looking at record id=2 is ok

Image

I believe this is a regression, as it used to work ok.

Metadata

Metadata

Assignees

Labels

bugformsrelated to attribute forms

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions