Pwirth has submitted this change and it was merged.

Change subject: Fix path to sql in WhoIsOnline
......................................................................


Fix path to sql in WhoIsOnline

there is no file called WhoIsOnlineDSwhoisonline.sql and it dosent exist in the 
level up from whoisonline either.
it ws missing /.

08:40:58 Creating bs_whoisonline table ...[f8e1b2aa96357194e2378899] [no req]   
RuntimeException from line 3053 of 
/srv/jenkins-workspace/workspace/mwext-testextension-hhvm-composer-non-voting/src/includes/libs/rdbms/database/Database.php:
 Could not open 
"/srv/jenkins-workspace/workspace/mwext-testextension-hhvm-composer-non-voting/src/extensions/BlueSpiceExtensions/WhoIsOnlineDSwhoisonline.sql".
08:40:58 
08:40:58 Backtrace:
08:40:58 #0 
/srv/jenkins-workspace/workspace/mwext-testextension-hhvm-composer-non-voting/src/includes/installer/DatabaseUpdater.php(691):
 Database->sourceFile(string)
08:40:58 #1 
/srv/jenkins-workspace/workspace/mwext-testextension-hhvm-composer-non-voting/src/includes/installer/DatabaseUpdater.php(734):
 DatabaseUpdater->applyPatch(string, boolean, string)
08:40:58 #2 
/srv/jenkins-workspace/workspace/mwext-testextension-hhvm-composer-non-voting/src/includes/installer/DatabaseUpdater.php(473):
 DatabaseUpdater->addTable(string, string, boolean)
08:40:58 #3 
/srv/jenkins-workspace/workspace/mwext-testextension-hhvm-composer-non-voting/src/includes/installer/DatabaseUpdater.php(437):
 DatabaseUpdater->runUpdates(array, boolean)
08:40:58 #4 
/srv/jenkins-workspace/workspace/mwext-testextension-hhvm-composer-non-voting/src/maintenance/update.php(171):
 DatabaseUpdater->doUpdates(array)
08:40:58 #5 
/srv/jenkins-workspace/workspace/mwext-testextension-hhvm-composer-non-voting/src/maintenance/doMaintenance.php(110):
 UpdateMediaWiki->execute()
08:40:58 #6 
/srv/jenkins-workspace/workspace/mwext-testextension-hhvm-composer-non-voting/src/maintenance/update.php(216):
 include(string)
08:40:58 #7 {main}
08:40:58 Build step 'Execute shell' marked build as failure

Change-Id: Icd3d4376e7275c4b016fc33fb246e198e2622a75
---
M WhoIsOnline/WhoIsOnline.class.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Pwirth: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/WhoIsOnline/WhoIsOnline.class.php 
b/WhoIsOnline/WhoIsOnline.class.php
index fc21628..3be92ed 100644
--- a/WhoIsOnline/WhoIsOnline.class.php
+++ b/WhoIsOnline/WhoIsOnline.class.php
@@ -73,7 +73,7 @@
         */
        public static function getSchemaUpdates( $updater ) {
                global $wgDBtype, $wgExtNewTables, $wgExtModifiedFields, 
$wgExtNewIndexes, $wgExtNewFields;
-               $sDir = __DIR__ . DS;
+               $sDir = __DIR__ . '/';
 
                if( $wgDBtype == 'mysql' ) {
                        $wgExtNewTables[] = array( 'bs_whoisonline', $sDir . 
'whoisonline.sql' );

-- 
To view, visit https://gerrit.wikimedia.org/r/315473
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icd3d4376e7275c4b016fc33fb246e198e2622a75
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com>
Gerrit-Reviewer: Dvogel hallowelt <daniel.vo...@hallowelt.com>
Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com>
Gerrit-Reviewer: Ljonka <l.verhovs...@gmail.com>
Gerrit-Reviewer: Mglaser <gla...@hallowelt.biz>
Gerrit-Reviewer: Paladox <thomasmulhall...@yahoo.com>
Gerrit-Reviewer: Pwirth <wi...@hallowelt.biz>
Gerrit-Reviewer: Reedy <re...@wikimedia.org>
Gerrit-Reviewer: Robert Vogel <vo...@hallowelt.biz>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to