MerginMaps / MerginMaps/mobile
Incomplete photo deletion
Open
Nobody has claimed this yet.
bug
photo-refactoring
- Dominant language
- C++
- Stars
- 388
- Forks
- 87
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 20
Description
For a photo field, when adding a new feature form or editing an existing one, photos are not being deleted properly.
If we:
Scenario A:
- Open the form with a photo field by adding a new/editing an existing feature.
- Add a photo, then delete it.
- Add a different photo, then delete it.
- Add/save the feature.
Scenario B: - add new point
- attach photo to that point
- delete point with attached photo
- synch - the picture from deleted point is in QGIS and it should not be there.
Only the last photo will actually be deleted from the project folder.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing Scenarios A and B in the mobile app, then read the related discussion in pull request 3839. Done means deleted photos, including photos attached to deleted points, are no longer left in the project folder or returned to QGIS after synchronization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, cpp, ios
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100