sartography / cr-connect

0 stars 0 forks source link

is_file_uplpoaded() issue #450

Closed calexh-sar closed 3 years ago

calexh-sar commented 3 years ago

In the Protocol, Application & Coversheet workfow, is_file_uploaded() is returning the error message below istead of a False if the file is not uploaded.

image.png

cullerton commented 3 years ago

I don't think this is happening in is_file_uploaded. The string in the error message is only found in api.file

calexh-sar commented 3 years ago

@cullerton I removed all scripts but is_file_uploaded() from that flow. If you haven't already, would you please try to run that workflow in testing locally with this document selected in PB Mock so UVA IRB HSR is not the IRB of record:

image.png

And if you have, I don't have any ideas on how to fix whatever problem I am having.

cullerton commented 3 years ago

@calexh-sar First of all, why are you reading this on vacation? Second, I want to make sure I understand when/where the problem occurs...

We're talking about the script in Activity_0ykr6oi, right? If I get to UserTask_UploadnonUVACoversheet without seeing the errror, then we are seeing different results?

I can run the workflow on testing--not on my laptop, with or without a file uploaded for UserTask_UploadnonUVACoversheet, and I don't see the error. The document you posted above (Non UVA...) is the only document selected for my study. No investigators. No sponsors.

If this is still happening for you, can you run it one more time so I can look at the error in Sentry?

calexh-sar commented 3 years ago

@cullerton was able to clear the error by using the Clear documents option in Start over. Closing this ticket, as is_file_uploaded seems to be working fine now.

cullerton commented 3 years ago

To be clear, is_file_uploaded never had a problem. We still don't know what was causing this issue.