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
The apply_response method from the VAN() class raises an error if the contact type is Phone, SMS etc and the phone number is missing. VAN made a change and no longer has phone number as a required field for bulk uploads with these contact types. Would you please remove this exception if it no longer applies?
From the source:
if (
contact_type_id == 1 # Phone
or contact_type_id == 19 # Auto Dial
or contact_type_id == 37 # SMS Text
or contact_type_id == 67 # Phone Bank
or contact_type_id == 68 # Consumer Phone
or contact_type_id == 72 # Leader Phone
or contact_type_id == 112 # Personal Phone
or contact_type_id == 132 # Relational Text
or contact_type_id == 143 # Distributed Text
or contact_type_id == 147 # Bulk Text
or contact_type_id == 149 # Paid SMS
):
if not phone:
raise Exception("A phone number must be provided if canvassed via phone or SMS")
Your Environment
Version of Parsons used (if you know): 3.1.0
Priority
High
The text was updated successfully, but these errors were encountered:
lkesich
added
the
bug
Impact - something is currently broken in Parsons and needs to be fixed
label
Sep 27, 2024
@matthewkrausse I'm sorry, I noticed that this method is also used to apply canvass results from unsuccessful canvass attempts, and VAN does still require a phone number in that situation. It doesn't requires a phone number if you're applying survey responses/activist codes with a phone contact type. Sorry about that--I was having tunnel vision for my particular use case. I do still think the error should only be raised if response is None or if resultid is not None or with some other way of differentiating between successful and unsuccessful attempts.
Detailed Description
The apply_response method from the VAN() class raises an error if the contact type is Phone, SMS etc and the phone number is missing. VAN made a change and no longer has phone number as a required field for bulk uploads with these contact types. Would you please remove this exception if it no longer applies?
From the source:
Your Environment
Priority
High
The text was updated successfully, but these errors were encountered: