Skip to content

Bug: Invited user is not shown if email fails #3229

@sebgie

Description

@sebgie

Issue Summary

If sending the invitation email fails due to a problem with the email service the invited user is not shown in the list of invited users immediately. After refreshing the page the user shows up.

In case of an email problem, the user is added to the database and an error (type: EmailError) is returned to the client. I think that it would be good to refresh the list and ask the user to fix the email configuration and resend the invitation in this case.

Steps to Reproduce

  1. break your email config
  2. invite a user
  3. error notification
  4. refresh screen to see user

Technical details

  • Ghost Version: master - latest commit: 09e03f4
  • Client OS: OSX 10.9.3
  • Server OS: Vagrant
  • Node Version: 0.10.26
  • Browser: Chrome
  • Database: sqlite3

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects:adminAnything relating to Ghost Adminbug[triage] something behaving unexpectedly

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions