MerginMaps / MerginMaps/mobile

Relative path and project_home

Open
#655 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug camera photo-refactoring qgis
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

Users are reporting issues with not being able to save their photos from camera or attach photos to their forms.

Closer inspection of their projects, I found that when Project home is set by user (under Project properties > General), this issue occurs.

The question is, when using relative path for Attachment widget, why is it still trying to save photos to project_home?

To replicate the issue, try saber\test_relative_path:

  • On Input, you cannot save your photos or attach photos
  • If you open the project and remove the Project home under layer properties and sync, things start working

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the saber\test_relative_path project and reproduce the Attachment widget failure in Input while Project home is set. Compare behavior after removing Project home under layer properties and syncing, then trace how relative attachment paths are resolved. Done means photos can be saved and attached with a user-defined Project home.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.