Skip to content

Commit ff17b3e

Browse files
debug
1 parent a39e49c commit ff17b3e

File tree

2 files changed

+5
-0
lines changed
  • src/collective/volto/formsupport

2 files changed

+5
-0
lines changed

src/collective/volto/formsupport/adapters/post.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ def __call__(self):
102102
return self.form_data
103103

104104
def extract_data_from_request(self):
105+
breakpoint()
105106
form_data = json_body(self.request)
106107

107108
fixed_fields = []
@@ -133,6 +134,7 @@ def extract_data_from_request(self):
133134
return form_data
134135

135136
def get_block_data(self, block_id, global_form_id):
137+
breakpoint()
136138
blocks = get_blocks(self.context)
137139
if not blocks:
138140
global_form_id = global_form_id
@@ -291,6 +293,7 @@ def filter_parameters(self):
291293
"""
292294
do not send attachments fields.
293295
"""
296+
breakpoint()
294297
fields = [field for field in self.format_fields() if field.send_in_email]
295298

296299
additionalInfo = self.block.get('sendAdditionalInfo', [])

src/collective/volto/formsupport/restapi/services/submit_form/post.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ def reply(self):
7373

7474
notify(PostEventService(self.context, self.form_data))
7575

76+
breakpoint()
77+
7678
if send_action or self.get_bcc():
7779
try:
7880
self.send_data()

0 commit comments

Comments
 (0)