Skip to content
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

Allow synchronous form answering and spreadsheet editing #2165

Open
artonge opened this issue May 13, 2024 · 5 comments
Open

Allow synchronous form answering and spreadsheet editing #2165

artonge opened this issue May 13, 2024 · 5 comments
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request feature: 📝 submitting responses
Milestone

Comments

@artonge
Copy link

artonge commented May 13, 2024

Nextcloud (please complete the following information):

  • Nextcloud-Version: [e.g. 19.0.0]
  • Forms-Version: [e.g. 2.0.0-beta4]

Is your feature request related to a problem? Please describe.

When you open the spreadsheet of a form, the file gets locked, and it prevents people from answering the form.

Describe the solution you'd like

  • Store the submitted data in the database
  • Try to add the data in the spreadsheet later in a background job

@susnux

@artonge artonge added enhancement New feature or request 0. Needs triage Pending approval or rejection. This issue is pending approval. labels May 13, 2024
@Chartman123 Chartman123 added 1. to develop Accepted and waiting to be taken care of feature: 📝 submitting responses and removed 0. Needs triage Pending approval or rejection. This issue is pending approval. labels May 13, 2024
@Chartman123 Chartman123 added this to the 4.3 milestone May 13, 2024
@Chartman123
Copy link
Collaborator

Chartman123 commented May 13, 2024

@artonge could you verify which error message you get, when the file is locked? There's another open issue, where we still don't know exactly where the error comes from (#2067)

We could reproduce the other error now... There shouldn't be a connection to this issue here.

@alexanderdd

This comment was marked as off-topic.

@alexanderdd
Copy link

I just had this problem in 29.0.6

Ideally, the data is not added after manual editing is finished, but live, during editing. Then you have live monitoring of answers coming in =)

@Chartman123
Copy link
Collaborator

Ideally, the data is not added after manual editing is finished, but live, during editing. Then you have live monitoring of answers coming in =)

@alexanderdd I think that this can't be done easily as we don't know if someone uses an online office like Collabora/Nextcloud office or OnlyOffice. And even if they have the app installed the file could still be locked by someone working on it through a client locally.

@susnux
Copy link
Collaborator

susnux commented Sep 24, 2024

@alexanderdd I think that this can't be done easily as we don't know if someone uses an online office like Collabora/Nextcloud office or OnlyOffice. And even if they have the app installed the file could still be locked by someone working on it through a client locally.

If we do it async (background job) we can check for locking as those apps should lock the file for modifications.
So nothing we need to special handle, but just catch locked exceptions and postpone writing the results.

@Chartman123 Chartman123 modified the milestones: 4.3, 5.0 Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request feature: 📝 submitting responses
Projects
None yet
Development

No branches or pull requests

4 participants