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

Case activities have incorrect cid in View link on Full Text Search

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      If your search on Activities in Full Text Search returns a case activity, the link to "View" the activity record has the "source" contact_id rather than the case client contact_id in the URL.

      Example:
      Case client is cid=41, but View link in full text search is:
      http://localhost/dgg/d6/civicrm/case/activity/view?reset=1&aid=553&cid=102&caseID=1&context=fulltext&contextQFKey=280542c6738aa97e717f3de2fc16285b_8052

      The resulting Activity View screen is attached as screenshot.

      To recreate:

      • configure sample case .xml and .mysql and enable CiviCase
      • create a case and edit one activity to put in a known subject
      • search on the subject string in Full Text search
      • click View on the found record.

        Attachments

        1. Picture 23.PNG
          35 kB
          David Greenberg
        2. Picture 24.PNG
          24 kB
          David Greenberg

          Activity

            People

            • Assignee:
              sushant Sushant Paste
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: