sartography / cr-connect

0 stars 0 forks source link

Possible false positive in IDS Approval shield test #478

Closed calexh-sar closed 3 years ago

calexh-sar commented 3 years ago

When I run the shield test on the IDS Approval workflow, I receive this error:

image.png

Sentry captures this WorkflowTaskExecException error.

The workflow executes without error and the line of code specified is executed.

cullerton commented 3 years ago

This turned out to be a problem with the way we seed data into enum fields during validation. Checkbox enums are different from enums. Enums return a dictionary. Checkbox enums return a list of dictionaries. We now treat them differently in get_random_data_for_field

calexh-sar commented 3 years ago

Working as designed.