Skip to content

Users can get stuck into unhandled fault during setup related to org wide email address #114

@jkincaid-dbservices

Description

@jkincaid-dbservices

Problem If you use the setup flow to create an org wide email address, press next to go to the next screen, then press previous, then next again (aka go to next screen, return to original screen and go to next screen again), you will get an unhandled fault. And then if you abandon the setup flow and rerun it, you will get this unhandled fault after the create org wide email address screen every time. In other words, there is no way for the user to finish the setup flow in this situation without them going and deleting the unverified org wide email address or verifying it and rerunning the flow.

Cause Two issues: 1. The flow is pulling only verified org wide email addresses, and 2. The flow isn't gracefully handling if the user goes back to a previous screen. It tries to create the org wide email address twice and results in the unhandled fault. And when you rerun the flow and try again, the org wide email address was already created but it's unverified, so the flow doesn't "see" it and will try and have you create it again, resulting in the fault.

Solution The flow needs to be updated to check if the org wide email address already exists before trying to create it. We could also change the query for org wide email addresses to find both verified and unverified but I do not understand the implications of that change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions