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

"Link Cases" broken and case type missing from selectors and Link to Case field is missing

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.5
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      Several problems w/ Link to Case activity form and display of case types. These seem to be related to CiviHR changes which made caseId an array.

      • Fatal error when trying to load 'Link Cases' activity form
      • Case types not showing in selectors
      • Link to Case field is MISSING from the Link Cases activity form.
            • YASH - can you look at this one.
              I checked the $form array and the field is present. However, It looks like we're not loading LinkCases.tpl at all - and I can't find the code that injects the special case activity tpl's ???

      Note that this code is working for the other special case activities - e.g. Change Case Status, Change Case Type - altho I get a warning on Change Case Type that is probably also related to caseId change :

      Warning: strtolower() expects parameter 1 to be string, array given in CRM_Core_DAO::getFieldValue() (line 785 of /Users/dgg/git/crm_v4.5/CRM/Core/DAO.php

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              colemanw Coleman Watts
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: