carp-dk / carp-dk/carp.sensing-flutter

Data upload duplicates/fails if user is switching studies

Open
#527 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Dart
Stars
84
Forks
31
Avg merge
1d 8h
Merged PRs (30d)
6

Description

Data is sometimes duplicated, other times data upload fails with
```
The study deployment ID of one or more sequences in `batch` doesn't match `studyDeploymentId`
```

Probably the local database is not cleared/filtered when switching studies or uploading data

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by reproducing the problem while switching studies and uploading data, then trace local-database filtering and the upload path around the studyDeploymentId mismatch; done means uploads neither duplicate data nor fail after a study switch.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
database, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.