Merge branch '2017.11' into 2017.11-develop
authorjenkins <tine20-jenkins@metaways.de>
Wed, 9 Aug 2017 13:11:41 +0000 (15:11 +0200)
committerjenkins <tine20-jenkins@metaways.de>
Wed, 9 Aug 2017 13:11:41 +0000 (15:11 +0200)
1  2 
tine20/Tinebase/Setup/Update/Release10.php

@@@ -2034,7 -2034,12 +2034,12 @@@ class Tinebase_Setup_Update_Release10 e
          $applications = Tinebase_Application::getInstance()->getApplications();
          /** @var Tinebase_Model_Application $application */
          foreach ($applications as $application) {
-             $setupXml = Setup_Controller::getInstance()->getSetupXml($application->name);
+             try {
+                 $setupXml = Setup_Controller::getInstance()->getSetupXml($application->name);
+             } catch (Setup_Exception_NotFound $senf) {
+                 Tinebase_Exception::log($senf);
+                 $setupXml = false;
+             }
              if (!$setupXml || !$setupXml->tables || !$setupXml->tables->table) {
                  continue;
              }
          Tinebase_Scheduler_Task::addAccountSyncTask($scheduler);
          $this->setApplicationVersion('Tinebase', '10.42');
      }
 +
 +    /**
 +     * update to 11.0
 +     */
 +    public function update_42()
 +    {
 +        $this->setApplicationVersion('Tinebase', '11.0');
 +    }
  }