CRM-17831 "Create new individual" broken after upgrade to 4.7 due to error in "Formal Title" option

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7.2
    • Component/s: Core CiviCRM
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      After upgrading an in-use 4.6.4 system to 4.7-beta5, most usage seemed normal, but "Create new Individual" at /civicrm/contact/add?reset=1&ct=individual would generate the "Unsupported html-element" (see screenshot).

      The log file is attached, with site name details sanitized.

      It seems like a lot of changes were made from 4.6 to 4.7 to /civicrm/CRM/Contact/Form/Edit/Individual.php. The new code includes comments with numerous prayers to God that are apparently unanswered. I wasn't able to load in a debugger on my tablet, but did see from the log file that the error seemed to be triggered by the field "formal_title". Finding that as an option of the option group "Contact Edit Options" and disabling it in CiviCRM fixed the problem.

      The system is drupal 7 running OpenAtrium 2.51 (upgraded from OA 2.43), running in Aegir. Please let me know if there are additional details needed.

        Attachments

        1. disable formal title.png
          14 kB
          Jake Schlachter
        2. error message on new individual.png
          9 kB
          Jake Schlachter
        3. thiserror.txt
          183 kB
          Jake Schlachter

          Activity

          [CRM-17831] "Create new individual" broken after upgrade to 4.7 due to error in "Formal Title" option
          Tommy D Sheppard added a comment -

          This error is also happening on my 4.7.1 install on Drupal 7 when I try to edit an existing contact.

          Matthew Brown added a comment -

          For me it is happening on civiCRM 4.7.1 in Wordpress 4.4.2 if I try to edit and existing individual contact or add a new one.

          Monish Deb added a comment -
          Jitendra Purohit added a comment -

          Tested - works fine.

          Niels Heinemann added a comment - - edited

          How could I fix this on installed 4.7.1? Where is xml schema's html element value stored in my installed civicrm?

          Niels Heinemann added a comment -

          Superthank you!

            People

            • Assignee:
              Jitendra Purohit
              Reporter:
              Jake Schlachter

              Dates

              • Created:
                Updated:
                Resolved: