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

Viewing Case Activity With File Reference Custom Data shows Error

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.0.5
    • Fix Version/s: 3.4.6
    • Component/s: CiviCase
    • Labels:
      None

      Description

      The problem is with file /CRM/Case/XMLProcessor/Report.php line 488:

      } else if ( CRM_Utils_Array::value( 'type', $typeValue ) == 'File' )

      { require_once 'CRM/Core/BAO/File.php'; $tableName = CRM_Core_DAO::getFieldValue( 'CRM_Core_DAO_EntityFile', $value, 'entity_table' ); $value = CRM_Core_BAO_File::attachmentInfo( $tableName, $activityDAO->id ); }

      where
      $tableName = CRM_Core_DAO::getFieldValue( 'CRM_Core_DAO_EntityFile', $value, 'entity_table' );
      should be
      $tableName = CRM_Core_DAO::getFieldValue( 'CRM_Core_DAO_EntityFile', $typeValue, 'entity_table' );

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              vanrijm Mark van Rij
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: