View Issue Details

IDProjectCategoryView StatusLast Update
0012956Tine 2.0Otherpublic2017-05-04 09:53
ReporteringoratsdorfAssigned Topschuele 
Status resolvedResolutionopen 
Platformi386OSlinuxOS Version3.2.0-24
Product Versiongit master 
Target Version2017.02.3 Community EditionFixed in Version2017.02.3 Community Edition 
Summary0012956: Build fails on translation
Descriptiontrying phing on git master results in fatal as cache cannot be created.

Steps To Reproducepull latest tine20
composer install

looks like it cannot create any cache and cannot get backend of it since null
Additional Informationingo@server:/var/wwwroot/tine20-git/tine20$ ./vendor/bin/phing build
Buildfile: /var/wwwroot/tine20-git/tine20/build.xml

tine20 > prepare:

     [echo] basedir: /var/wwwroot/tine20-git/tine20
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Nothing to install or update
Generating autoload files
      [php] Evaluating PHP expression: Tinebase_Helper::getDevelopmentRevision();
     [echo] $buildRevision: master: 60faa9a95cf0e15070534d34876c625baf7cdcb8 (2017-04-05 06:00:56)
      [php] Evaluating PHP expression: date_create('now', new DateTimeZone('UTC'))->format('Y-m-d H:i:s');
     [echo] $buildDate: 2017-04-13 10:19:40
     [echo] Making build directory

tine20 > build:

tine20 > prepared-build-module:

     [echo] Building Voipmanager
     [echo] Replace buildstuff...
[reflexive] Applying reflexive processing to 0 files.
     [echo] Apply debug mode for debug files...
[reflexive] Applying reflexive processing to 0 files.
     [echo] [Translations] Checking js dir /var/wwwroot/tine20-git/tine20/Voipmanager/js ...
     [echo] [Translations] Building translations...
PHP Fatal error: Uncaught Error: Call to a member function getBackend() on null in /var/wwwroot/tine20-git/tine20/Tinebase/Translation.php:72
Stack trace:
#0 /var/wwwroot/tine20-git/tine20/vendor/phing/phing/classes/phing/tasks/system/AdhocTask.php(80) : eval()'d code(11): Tinebase_Translation::getAvailableTranslations()
#1 /var/wwwroot/tine20-git/tine20/vendor/phing/phing/classes/phing/UnknownElement.php(100): translationTask->main()
0000002 /var/wwwroot/tine20-git/tine20/vendor/phing/phing/classes/phing/Task.php(283): UnknownElement->main()
#3 /var/wwwroot/tine20-git/tine20/vendor/phing/phing/classes/phing/tasks/system/SequentialTask.php(58): Task->perform()
0000004 /var/wwwroot/tine20-git/tine20/vendor/phing/phing/classes/phing/tasks/system/IfTask.php(172): SequentialTask->main()
#5 /var/wwwroot/tine20-git/tine20/vendor/phing/phing/classes/phing/TaskAdapter.php(61): IfTask->main(Object(Project))
#6 /var/wwwroot/tine20-git/tine20/vendor/phing/phing/classes/phing/UnknownElement.php(100): TaskAdapter->main()
#7 /var/wwwroot/tine20-git/ in /var/wwwroot/tine20-git/tine20/Tinebase/Translation.php on line 72
TagsNo tags attached.


has duplicate 0012970 closedpschuele Crash on execution of phing 




2017-04-23 21:46

developer   ~0019918

Not sure how exactly the build process works, however it would appear to me that the config file is not being parsed at all, as I am not getting any logs and I can write whatever I want into the config file (
If it's not to do with the config file, then I do not know where values for logger and cache would come from.


2017-04-28 12:53

reporter   ~0019956

On my development machine (without build process worked fine. But I have not been able to find the reason for this error. But I didn't had much time to investigate either. A message on why/what went wrong (more precise reason) woud be great in this case.


2017-04-28 17:38

administrator   ~0019968

it looks like there is a problem with the cache. you don't need the cache for the build.

please try this (git diff format):

diff --git a/tine20/Tinebase/Translation.php b/tine20/Tinebase/Translation.php
index bb53c51..f92b0eb 100644
--- a/tine20/Tinebase/Translation.php
+++ b/tine20/Tinebase/Translation.php
@@ -70,7 +70,7 @@ class Tinebase_Translation
                 'master_files' => $filesToWatch
             $tineCache = Tinebase_Core::get(Tinebase_Core::CACHE);
- if ($tineCache) {
+ if ($cache && $tineCache) {
             } else {
                 $cache = null;


2017-04-28 19:33

administrator   ~0019976

i think, the problem should be already fixed since yesterdays release (also in master). the fix above should not be necessary. could you please verify that?


2017-05-04 09:53

administrator   ~0020000

closing this.

please reopen if the problem still exists.

Issue History

Date Modified Username Field Change
2017-04-13 12:30 ingoratsdorf New Issue
2017-04-21 22:51 ingoratsdorf Relationship added has duplicate 0012970
2017-04-23 21:46 ingoratsdorf Note Added: 0019918
2017-04-28 12:53 SOWIWAS Note Added: 0019956
2017-04-28 17:38 pschuele Note Added: 0019968
2017-04-28 17:38 pschuele Assigned To => pschuele
2017-04-28 17:38 pschuele Status new => feedback
2017-04-28 19:33 pschuele Note Added: 0019976
2017-04-29 18:30 pschuele Target Version => 2017.02.4 Community Edition
2017-05-04 09:53 pschuele Note Added: 0020000
2017-05-04 09:53 pschuele Status feedback => resolved
2017-05-04 09:53 pschuele Fixed in Version => 2017.02.3 Community Edition
2017-05-04 09:53 pschuele Target Version 2017.02.4 Community Edition => 2017.02.3 Community Edition