Skip to content

Commit

Permalink
fix recently introduced conflict handling bug
Browse files Browse the repository at this point in the history
I somehow failed to update the actual call to create_and_lock_xform when I
refactored to add an explicit domain argument

this was caught by receiverwrapper tests in commcarehq
  • Loading branch information
dannyroberts committed Apr 8, 2014
1 parent dabe0c0 commit 21df73c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion couchforms/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,8 @@ def process(xform):
try:
lock_manager = create_and_lock_xform(self.instance,
attachments=self.attachments,
process=process)
process=process,
domain=self.domain)
except SubmissionError as e:
logging.exception(
u"Problem receiving submission to %s. %s" % (
Expand Down

0 comments on commit 21df73c

Please sign in to comment.