StringDataRightTruncation: value too long for type character varying(32)
File "django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
DataError: value too long for type character varying(32)
(20 additional frame(s) were not displayed)
...
File "bpmn/tracking/utils/tracking.py", line 19, in <dictcomp>
workorder.requisition.identifier: workorder.get_tracking_status(
File "bpmn/models/workorder.py", line 146, in get_tracking_status
for item in [
File "bpmn/models/workorder.py", line 147, in <listcomp>
interval_tracking_rule.apply_rule(
File "bpmn/tracking/dataclasses/rules.py", line 199, in apply_rule
WorkOrderTrackingHistory.add(interval_tracking)
File "bpmn/models/tracking.py", line 23, in add
return cls.objects.create(
Issue is that the failover rule name is longer than 32 chars (it's 37). There's no compelling reason to keep this constrained at 32, will increase size of that field
Sentry Issue: LIMS-BACKEND-YT