Comments (11)
This does not work as described above. We need to discuss this in a brief call. For example, I do not think I requested the following scenario.
When trying to merge a completed survey into a newly created or in progress survey to get the following.
We need to be able to merge a completed survey into another new file as this sometime we use to fix an issue where we do not see the survey in the cloud even it is says sync'ed on the tablet.
[UPDATES]
After discussing with @maratomega it was decided that a better strategy for handling cases where a cloudfile is not in the cloud (maybe because of transient Internet issue) would be to add a feature where a user could tap on the cloud icon to do a verification and if needed a re-sync of the file. This is a cleaner, faster approach then re-cloning files using the merge feature.
from pacific-emis-education-survey-tool.
Need to see if this is still an issue with the latest version
from pacific-emis-education-survey-tool.
This is still an issue in latest
from pacific-emis-education-survey-tool.
Here is a whole list of duplicates in production at the moment. It's almost as if the app allows merging both ways ending up in multiple READY (i.e. completed) surveys. DO NOT work on the production files for any troubleshooting. This issue MUST be reproduced in the DEVELOPER cloud service account while leaving the production service account UNTOUCHED.
One thing to test in development is this. An original specification for the app was that a merged partial survey would become no longer usable. For example, a worker tablet merges a partial survey into the team leader tablet. The partial survey on the workers tablet becomes in MERGED state and thus can no longer be used. It should not be possible for the completed survey on the team leader tablet to be merged into the MERGED worker tablet. This is a possible scenario I can think of that could lead to the below. But other scenarios are possible and we need to identify what is causing this.
from pacific-emis-education-survey-tool.
From Omega-R:
In the meantime, please clarify the following scenario: we have a Survey with the status Completed (1 device), and we want to merge this survey to another device (2 device), once it's merged the Survey on device 1 gets status Merged, the merged survey on device 2 gets status Completed, is that correct so far?
So we assume that the survey from device 2 can not be merged back to device 1, correct?
from pacific-emis-education-survey-tool.
No, that is not the original specifications.
Once you have a Completed survey there is no need to merge into another one. It is already completed and is usually done into the team leader's tablet (device 1). We have a completed survey (in device 1) and that will be the official one that will be processed into the system. All the workers' tablets (device 2, 3, 4, etc.) merge into the team leader's tablet (device 1). It is a one way only thing. When they (the workers tablet or device 2, 3, 4) have merged their content they become in status MERGED (from a previous in progress status). And it should not be possible to merge something else into this worker tablet (merging back the completed device 1 into device 2 in merged state should be refused with the following message.
"This tablet was already used as a worker tablet and was already merged into the team leader's tablet. You do not need and can not merge anything back here. You can merge again into the team leader's tablet if you really need to, but any final adjustments can simply be done in the team leader's tablet."
The MERGED status is final. The only thing that would be acceptable (though it would not be that important) would be that the same worker could re-merge into the team leader again (for example if they worker updated something and would want to push updates to team leader tablet. But this scenario is not too important as any final chance could be done simply on the team leader's tablet.)
Here the tablet app is already behaving almost perfectly. Please any improvement is welcome (and desired) but MUST be done with care as I do not want to introduce any issue. So please make sure everything is perfectly clear before any chance. And must be tested into its own branch thoroughly.
On the duplicates it just happens and you will have to try out many things until you can reproduce it in development. When I will have a bit more time I will also try on my end and see if I can get more information from the team on the ground doing this in production.
Hope this helps
from pacific-emis-education-survey-tool.
As explained above, the MERGED status is final. The only thing that is acceptable is a re-merge. But in the current build, I have a worker for which the file below has already been merged into another tablet (it has sent its partial survey to the team leader's tablet) as shown below.
However, I am able to start the merge from another tablet into this already merged survey. This is a source of problems and confusion and should NOT be allowed.
When a survey has already been merged (hence in MERGED state) should not be able to merge from another tablet. Clicking on Merge as shown above should return the following message.
"This survey has already been merged into the team leader's tablet. While you can merge again into the team leader's tablet (or even another tablet) you are not allowed to merge from another tablet into this survey."
from pacific-emis-education-survey-tool.
20220919_135256.mp4
Hi @ghachey Here is the discussed feature where a user could tap on the cloud icon to do a verification and if needed a re-sync of the file. Kindly let me know if we need to add something else (like additional pop-ups) or we are good here.
from pacific-emis-education-survey-tool.
@maratomega this is good.
from pacific-emis-education-survey-tool.
Needs more testing. I still see some odd duplicates in progress status which I am currently unsure where they came from. More details coming soon.
from pacific-emis-education-survey-tool.
I have not been able to reproduce the duplicate files in the cloud yet. I will close this as resolved. If we encounter again we can create another more specific issue with reproducible results.
from pacific-emis-education-survey-tool.
Related Issues (20)
- After restart of tablet app no longer works HOT 3
- UI changes suggestion [proposed Label] enhancement HOT 3
- Why are tablets showing twice when merging with Bluetooth HOT 4
- Rename menu item HOT 2
- School Accreditation empty space bug HOT 3
- Rename class progress log in classroom observations HOT 1
- Load partially saved survey no longer retrieves photos HOT 5
- RMI Form B Report miscalculation HOT 3
- Add support for additional stricter validation to consider a survey completed HOT 2
- RMI new school accreditation survey version HOT 1
- Documentation of library updates.
- Form B FSM adjustment HOT 8
- Remove local setting Load Production Certificate HOT 11
- Review requirements for android playstore New deadline: Target API Level HOT 2
- Support to add countries through configuration HOT 10
- Review the rules that defines a survey to be completed HOT 3
- General updates HOT 4
- Switching cloud account (Production/Development) may move existing surveys to other storage HOT 11
- Simple renaming of operating mode HOT 6
- Kobotoolbox integration for creation of new surveys HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pacific-emis-education-survey-tool.