Details
-
Type:
Task
-
Status: To-Do (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:
-
Story Points:1
-
Epic Link:
-
Sprint:Fall 7, Fall 8
Description
Situation: When submitting a new version of an app the process failed due to user permissions (You are not authorized to add releases, because you are not an editor). However, I also immediately received an email that stated that the app was successfully submitted.
Thank you for submitting the app!
The following app has been submitted:
Name: SNP file converter
Version: 9.1.1
Submitter: nfreese nfreese@uncc.edu
Task: Fix the app store so that if app submission fails due to permissions a success email is not sent.
Attachments
Issue Links
- relates to
-
IGBF-3400 Deploy SNP File Converter version 9.1.1 to App Store
-
- Closed
-
The function confirm_submission was returning the error that Dr. Freese reported only after sending the email. I've changed the logic such that the user permissions are checked first, then saved in a variable called response. If that response is not an error, then an email will be sent letting the user know the app was submitted successfully. Otherwise, no email will be sent.
I'm having a tough time testing these changes locally because I do have editor permissions in my appstore development environment. However, I can see that the logic changed as I expected.
First, I added SNP File Converter v10.0.1. I encountered an error upon submission (not a permissions error but rather a local host error), but still received an email letting me know the app was submitted successfully. I then made the above code changes, incremented the SNP File Converter version to v10.0.2, and tried submitting again. Now, I still see the error but no email has been sent.