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

Make CiviCRM more resistant to errors in extensions

    Details

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

      Description

      Hi,

      While working on extensions, it has happened several times that I got something wrong in the xml or php of the extension.
      Unfortunately, it often ended up with the extension manager page being unaccessible, so a deadlock were I can't disable/ remove the extension that is broken.

      My latest mistake lead me to a

      Fatal error: Call to a member function getPath() on a non-object in /var/www/civi.trunk/CRM/Extension/Container/Collection.php line 91

      Somehow, it lost its container it seems. Happy to fix but don't know what "not found" default value to put.

      And no idea how to reproduce, I just fired the monkeys that randomly hit my keyboard. Ping me and I can debug on my local machine under your supervision

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              xavier xavier dutoit
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: