Hi @ZacharySutherby
Yes, it does. I have just replicated the whole issue from scratch. I can now say that this happens not only when you open a survey in mode=copy, but in normal mode as well. Attached you can find the 2 JSON files that define the services for the Layer and the View Layer, plus the XLSForm.
Summary of the process followed:
- With Survey Connect, create a simple survey from the "Advanced" template. Remove the "select_one" question. Add a new "file" question. Publish the survey. Switch to AGOL.
- Share both the survey and the survey layer with the Organization. The survey layer settings are not modified (see attached file: "Survey_Layer_Settings.jpg")
- Create a View Layer from the survey layer. Add a filter: "Example text question = 1".
- Share the View Layer with the Organization.
- Change the settings of the View Layer (see attached file: "Survey_View_Layer_Settings.jpg).
- In Connect, point the survey to use the View Layer.
RESULTS:
- Survey + layers' owner can do whatever he/she desires. No errors.
- If a user other than the owner attempts to submit a survey with BOTH:
- A value for "Example text question" other than '1', and
- A file attachment
...then they get this error:
Other combinations work fine (for instance, user introduces '1' to the question AND attaches a file, or introduces '0' to the question BUT he/she does NOT attach a file.
Note that now we are not opening records in copy mode, but simply submitting a new survey.
The error can be avoided as well if "Editors can edit all features" is enabled in the View Layer (this is not an option for our scenario).
Thank you.