Skip to content

Commit

Permalink
Try fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffersonBledsoe committed Jan 21, 2025
1 parent 25a992f commit 5721f9f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions src/collective/volto/formsupport/adapters/post.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ def filter_parameters(self):

def format_fields(self):
fields_data = []
breakpoint()
for submitted_field in self.form_data.get("data", []):
# TODO: Review if fields submitted without a field_id should be included. Is breaking change if we remove it
if submitted_field.get("field_id") is None:
Expand Down Expand Up @@ -330,5 +329,4 @@ def format_fields(self):
"validations": validations_for_field,
}
)
breakpoint()
return construct_fields(fields_data)
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _attribute(attribute_name: str):
_attribute("use_as_reply_to")
_attribute("use_as_reply_bcc")
self.required = field_data.get("required")
self.validations = field_data.get("validations")
self.validations = field_data.get("validations", {})
self._display_value_mapping = field_data.get("dislpay_value_mapping")
self._value = field_data.get("value", "")
self._custom_field_id = field_data.get("custom_field_id")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def __init__(self, context, request):
self.block = self.get_block_data(block_id=self.block_id)

def reply(self):
breakpoint()
store_action = self.block.get("store", False)
send_action = self.block.get("send", [])

Expand Down Expand Up @@ -186,7 +185,6 @@ def get_subject(self):
return subject

def send_data(self):
breakpoint()
subject = self.get_subject()

mfrom = self.form_data.get("from", "") or self.block.get("default_from", "")
Expand Down

0 comments on commit 5721f9f

Please sign in to comment.