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

Cannot edit form with an empty ID field #477

Open
vinayvenu opened this issue Jul 8, 2021 · 0 comments
Open

Cannot edit form with an empty ID field #477

vinayvenu opened this issue Jul 8, 2021 · 0 comments
Labels

Comments

@vinayvenu
Copy link
Member

Describe the bug
Consider an enrolment form that has an empty ID field. If the enrolment form is being edited, then the application fails with the following error.

Fatal error: Error: Cannot modify managed objects outside of a write transaction.

To Reproduce
Steps to reproduce the behavior:

  1. Manually modify an enrolment, and remove the id field from an existing enrolment.
  2. Sync and edit the enrolment form

Expected behavior
This is usually not an expected flow. However, these flows can come about when a new ID field is introduced and an old form is being modified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Triaged
Development

No branches or pull requests

2 participants