Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.1.0
-
Fix Version/s: 4.1.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
current trunk (4.1 b1). reproducible on sandbox
if you enter a contact record and delete (trash) the record, then confirm the action, you get errors:
Error type: Could not find a valid session key.
I think the problem is that it's trying to return you to search results. But if the contact was not entered via a search, then the session key its using is not valid. At one point, I had discussed with Dave that for a single contact trash, we should return the user to the same contact record (with the name struck through in red) rather than return to the search page. In current stable, we send people to the basic search page and return all contacts, which can unnecessary slow things down with large dbs.