| Bug ID Number |
BUG-000160878 |
| Submitted | August 23, 2023 |
| Last Modified | November 1, 2023 |
| Applies to | ArcGIS Survey123 |
| Version found | 3.18 |
| Operating System | Apple iOS |
| Operating System Version | 16.x |
| Status | Under Consideration
The issue has been reviewed by the development team. It has not been prioritized into a release plan and will be monitored to determine its overall impact. Factors that are considered in the prioritization process include the number of users affected or requesting the functionality, business impact, whether a workaround exists, among others. If a bug is adversely affecting your business, see How To: Escalate a defect (https://support.esri.com/en/technical-article/000024129).
|
Description
An example of how this "crash" may occur:
- User begins filling out the survey, leaves the device for 15-30 minutes while auto-locked. Upon reopening the device to continue filling out the survey, Survey123 is no longer open.
- When opening the application again, there is a "Recovered Survey" notice, and users can recover their data and continue filling out the survey.
- Sometimes, the Recovered Survey notice does not appear
Notes:
- Previously (before June 2023), the application did not close after a period of inactivity, the survey would stay open
- Behavior was first noticed in Survey123 field app version 3.18.142.
- If only select-one questions were answered when the device locked, the survey does not get recovered.
- This can be seen on both iOS and Android devices, but does not happen 100% of the time.
- The function being within its own repeat actually does not cause any issues with submitting the survey, and the function does work. However, it causes unexpected behavior (Survey123 closing) if the device is locked.
Cause
This behavior can occur when there is an indexed-repeat function within the repeat it is referencing. This is not supported. See: ArcGIS Survey123 Use values from indexed repeats
Workaround
The indexed-repeat function within the repeat it was referencing should be removed to fix the survey closing after a device is inactive.
Because this behavior is due to an unsupported workflow, the behavior itself will not be changed. However, there is a bug logged to notify users there may be unexpected behavior if they attempt to publish the survey that the indexed-repeat function within the repeat it is referencing.
BUG-000160878 - ArcGIS Survey123 does not show an error or a notice that there may be unexpected behavior when the indexed-repeat calculation is referencing a field within its own repeat.
Steps to Reproduce