Skip to content
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.

Metadata files should contain relative file paths #806

Closed
ggalmazor opened this issue Sep 9, 2019 · 0 comments · Fixed by #807
Closed

Metadata files should contain relative file paths #806

ggalmazor opened this issue Sep 9, 2019 · 0 comments · Fixed by #807
Assignees
Milestone

Comments

@ggalmazor
Copy link
Contributor

Problem description

Current code in master generates metadata.json files with absolute paths to the form files, which make them not portable. Any path should be relative to the briefcase directory.

Steps to reproduce the problem

  1. Pull a form and close Briefcase
  2. Move the SD to another location
  3. Open Briefcase and change the storage location directory in the settings tab.
  4. Try to export the form

You should see that Briefcase freezes and there's an error in the logs

Expected behavior

Briefcase shouldn't freeze or fail.

@ggalmazor ggalmazor added the bug label Sep 9, 2019
@ggalmazor ggalmazor added this to the v1.17.0 milestone Sep 9, 2019
@ggalmazor ggalmazor self-assigned this Sep 9, 2019
ggalmazor added a commit that referenced this issue Sep 10, 2019
…elative_paths

Issue #806 Metadata files should have relative paths
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants