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

Change default ODK Directory #302

Open
lakshyagupta21 opened this issue Aug 17, 2019 · 7 comments
Open

Change default ODK Directory #302

lakshyagupta21 opened this issue Aug 17, 2019 · 7 comments
Labels
bug Something isn't working

Comments

@lakshyagupta21
Copy link
Contributor

Software and hardware versions

Android vx.x.x, device used...

Problem description

Currently, there is a hardcoded value of odk directory by default, if any form is transferred in any of the devices with no sdcard. It end up getting saved in some other virtual directory(sdcard/odk) but entry in made into forms.db in actual ODK directory of Collect.

Steps to reproduce the problem

  1. Transfer All Widgets(can be any form but it should be downloadable from server in ODK-Collect) form from Device A - Device B
  2. Now go and download the same form from server in ODK-Collect
  3. ODK-Collect only shows one form (But there are two entries present in table)
  4. skunkworks-crow shows two forms with same id and version

Expected behavior

Change the default directory of odk.

Other information

Things you tried, stack traces, related issues, suggestions on how to fix it...

@SaumiaSinghal
Copy link
Contributor

@opendatakit-bot claim

@getodk-bot
Copy link
Member

Hello @SaumiaSinghal, it looks like you've currently claimed 2 issues in this repository. We encourage new contributors to focus their efforts on at most 2 issues at a time, so please complete your work on your other claimed issues before trying to claim this issue again.

We look forward to your valuable contributions!

@SaumiaSinghal
Copy link
Contributor

SaumiaSinghal commented Jan 15, 2020

Hie @lakshyagupta21, just to inform that I'm currently working on this issue. :)

@SaumiaSinghal
Copy link
Contributor

The default directory where all the forms are saved from odk Collect is Device Storage/odk/, so should we change the default directory to the same?

@lakshyagupta21
Copy link
Contributor Author

@SaumiaSinghal Are you able to reproduce the issue?

@lakshyagupta21 lakshyagupta21 added the bug Something isn't working label Jan 15, 2020
@SaumiaSinghal
Copy link
Contributor

Hi @lakshyagupta21, yes I finally found another device to work with and was finally able to reproduce the issue. 😅

@getodk-bot
Copy link
Member

getodk-bot commented Jan 27, 2020

Hello @SaumiaSinghal, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 15 days.

You can reclaim this issue or claim any other issue by commenting @opendatakit-bot claim on that issue.

Thanks for your contributions, and hope to see you again soon!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants