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
fix a bug where editing causing an error lost the original form #7360
Conversation
xforms[0] = instance | ||
# this is usually just one document, but if an edit errored we want | ||
# to save the deprecated form as well | ||
XFormInstance.get_db().bulk_save(xforms) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
before just the instance
was saved, and the newly added deprecated form in the context just vanished.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, dear
The failure looks possibly real?
|
yep, will fix |
@TylerSheffels (since @dannyroberts is offline today) |
fix a bug where editing causing an error lost the original form
@dannyroberts - encountered this looking into something else