Context gets lost when sending an email from manage case so it redirects somewhere else after
I think this is the same cause as #2318 (closed) where something about $this->_single
went missing. It should redirect you back to manage case.
- Turn off popups at administer - customize - display prefs (or when opening the link in step 3 open in a new tab).
- Create case
- In the roles section use the email icon to send an email to e.g. the client
- After sending, it goes somewhere else instead of manage case. Sometimes it will take you to the contact record which at least is related, sometimes it goes to /civicrm/dashboard, sometimes somewhere else.