CRM-19905 Drupal 8 User View and Edit pages broken when CiviCRM profiles set for User Registration

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7.25
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      When profiles are set to show on user registration and on the Drupal user view page, it breaks the User view and the profile edit sub forms of the user edit form are broken.
      This is a Drupal module issue.

      This is because the code needs to be updated to work with the Drupal API changes since the 8.0-beta series until its final form.

      Once you have CiviCRm installed, just create a user and then view the user page, or edit one of the profiles from the edit page, you'll see some php errors and WSOD.

        Attachments

          Activity

          [CRM-19905] Drupal 8 User View and Edit pages broken when CiviCRM profiles set for User Registration
          Mark Hanna added a comment -

          This patch fixes the WSOD, but there are some coding style warning in Jenkins, todo with extra whitespace, once that's fixes the PR will get merged

          Vasantha Kaje added a comment -

          I have removed the extra whitespaces and checked in. Please take it forward to merge.

          David Snopek added a comment -

          The PR listed here is merged and this issue can be closed

            People

            • Assignee:
              Unassigned
              Reporter:
              Mark Hanna

              Dates

              • Created:
                Updated:
                Resolved: