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

improve on CustomQuery Option group error message

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.7
    • Fix Version/s: 2.2.8
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      This patch improves on the error message provided by CiviCRM when the option_group_id field in civicrm_custom_field is not field out for a multi value field.

      A client db did not perform the write correctly and it crashed parts of CiviCRM

      It simply changes the message from the default backtrace message to

      'The custom field '.$dao->label.' is corrupt, please delete and re-build the field'

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              jalama Jim Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: