You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "<console>", line 8, in <module>
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 537, in delete
collector.delete()
File "/usr/local/lib/python2.7/dist-packages/django/db/models/deletion.py", line 314, in delete
sender=model, instance=obj, using=self.using
File "/usr/local/lib/python2.7/dist-packages/django/dispatch/dispatcher.py", line 189, in send
response = receiver(signal=self, sender=sender, **named)
File "/srv/src/kobocat/onadata/apps/logger/models/instance.py", line 103, in update_xform_submission_count_delete
xform.save(update_fields=['num_of_submissions'])
File "/srv/src/kobocat/onadata/apps/logger/models/xform.py", line 191, in save
self._set_title()
File "/srv/src/kobocat/onadata/apps/logger/models/xform.py", line 162, in _set_title
title_xml = matches[0][:XFORM_TITLE_LENGTH]
IndexError: list index out of range
OK, here's why this is broken. The form has:
<h:title><spanstyle="color:red; font-family:gill sans">Weightlifting Wales #FindYourStrength</span></h:title>
OK, here's why this is broken. The form has:
but KoBoCAT assumes:
Internal discussion: https://chat.kobotoolbox.org/#narrow/stream/4-KoBo-Dev/topic/Ending.20use.20of.20.60_deleted_at.60/near/23293
The text was updated successfully, but these errors were encountered: