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

False FK constraints to civicrm_option_value in civicrm_activity and civicrm_case table

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None

      Description


      We store the 'value' from the option_value table and NOT the 'id'. Hence the FK constraints are not necessarily valid. Here is a case where this tripped up the user: http://forum.civicrm.org/index.php/topic,2499.msg10657.html

        Attachments

          Activity

            People

            • Assignee:
              kiran.jagtap Kiran Jagtap
              Reporter:
              lobo Donald A. Lobo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: