-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Participant creation issue on the lime survey #227
Comments
Dear @alireza-dhp : We tried to reproduce the issue with the App version 3.0.7 (Android 13, emulated) as we guessed, in your screenshot that this is an Android screen. We could not reproduce it:
Please make sure, that you work with a properly configured lime survey (could be a source of the failure) and test again. |
Hello @andresgruber, I have reproduced this issue by follwoing these steps:
There could be alternative steps leading to the same outcome, as noted by the master student who observed this issue. |
@alireza-dhp Mhh, okay. Yes I check this, seems to be a backend issue as IMHO it is out of scope that lime survey id changes. What should happen if you do so if the study is already running? That would corrupt your data somehow. Nevertheless, what do you mean with "The "Survey participants" table for the recently used Lime Survey does not update corresponding to the study participants." Can you describe what would be an expected behaviour, so we can implement it. Please specifiy in detail what should happen. |
Dear @tkurz, Thanks for looking into the issue. To clarify the statement: In detail, when the study is resumed with a new or modified lime survey Id, the "Survey Participants" table should be updated to include all the participants from the study, with each participant having a corresponding token. This ensures that every participant can access the lime survey from the MORE app without encountering issues related to missing tokens. I hope this clarifies the expected behavior. |
@alireza-dhp I see. In the current implementation the a participant (identified by its id within the study) is only created once on activation, so if a surveyId is changed from a to b and the participant is already "created" on survey a but is missing on b. |
Hello @tkurz, May I kindly ask you for a rough estimation of fixing this issue? |
Hi @alireza-dhp ! Think about 4-6h including testing. The solution would be:
|
Hi @alireza-dhp : The solution proposed by @tkurz has shortcomings, b/c you then can't differentiate for one "observation" id, which questionnaire has been answered. To solve this entirely, it would need way more changes and enhancements. Therefore, I suggest to implement a real bugfix, which will work as following:
|
Some Lime surveys can't be opened, and it looks like there's a problem with creating all participants for lime surveys when resuming a study!
The text was updated successfully, but these errors were encountered: