Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-13564

"Could not find a valid session key" after create activity in custom search

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.7, 4.4.0
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:

      Description

      When you go to a custom search, get results, select a few contacts, and run Record activity for Contacts, the activity gets saved okay, but you end back with an error:

      Sorry but we are not able to provide this at the moment.
      We can't load the requested web page. This page requires cookies to be enabled in your browser settings. Please check this setting and enable cookies (if they are not enabled). Then try again. If this error persists, contact the site adminstrator for assistance.

      Site Administrators: This error may indicate that users are accessing this page using a domain or URL other than the configured Base URL. EXAMPLE: Base URL is http://example.org, but some users are accessing the page via http://www.example.org or a domain alias like http://myotherexample.org.

      Error type: Could not find a valid session key.

      It turns out that the new activity form returns you to civicrm/activity/search instead of civicrm/contact/search/custom. I've set up a PR to fix it.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              andrewhunt Andrew Hunt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: