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

Undefined property CRM_Core_Extensions_Extension::$id in CRM_Admin_Page_Extensions->browse()

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.0.4
    • Fix Version/s: 4.0.5
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      On my (almost) vanilla config of CiviCRM 4.0.4/Drupal 7.4 I get on the page "civicrm/admin/extensions" the notice "Undefined property: CRM_Core_Extensions_Extension::$id in CRM_Admin_Page_Extensions->browse() (line 169 dans /opt/drupal-7.4/sites/all/modules/civicrm/CRM/Admin/Page/Extensions.php).". The notice appears as much times as the number of proposed extensions (5 times initially).

      This piece of code has been introduced in r31990, and it can be fixed by introducing isset() in the test (I think this is the correct way to fix it, but I let you judge).

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              seb35 Seb35
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 10 minutes
                10m
                Remaining:
                Remaining Estimate - 10 minutes
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified