daniel created this task.
Herald added a subscriber: Aklapper.

TASK DESCRIPTION
  Example: 
https://integration.wikimedia.org/ci/job/mwext-mw-selenium-composer/2033/artifact/log/mw-error.log/*view*/
  
    2016-03-03 18:31:07 integration-slave-trusty-1006 jenkins_u1_mw: [e812b46f] 
/jenkins-mwext-mw-selenium-composer-2033/index.php/Special:BlankPage
    ErrorException from line 300 of 
/mnt/jenkins-workspace/workspace/mwext-mw-selenium-composer/src/includes/debug/MWDebug.php:
    PHP Notice: Cannot find site jenkins_u1_mw in sites table [Called from 
Wikibase\Client\WikibaseClient::newSiteGroup
    in 
/mnt/jenkins-workspace/workspace/mwext-mw-selenium-composer/src/extensions/Wikibase/client/includes/WikibaseClient.php
 at line 611]
  
  One possible fix would be T126596: During update.php (and install), add an 
entry in the sites table / SiteStore for the local wiki 
<https://phabricator.wikimedia.org/T126596>. However, the problem should not 
arise at all: WikibaseClinet::newSiteGroup() loks for the siteGroup setting. If 
it's not there, it looks for the siteGlobalID setting, and tries to look up the 
local wiki in the sites table based on that ID. So, we should be able to fix 
this by:
  
  - making site siteGroup is set for CI runs. Adding it to 
WikibaseClient.example.php should be sufficient. It's however unclear if should 
really be set in the exampe settings. Typical installs should //not// have this 
set.
  - making siteGlobalID something that can actually be found in the sites 
table. According to WikibaseClient.example.php, siteGlobalID should be 
"mywiki". However, this does not seem to be the case, since we find this in the 
logs:
  
    [Wikibase\SettingsArray] getSetting: setting siteGlobalID was given as a 
closure, resolve it to 'jenkins_u1_mw'
  
  (from 
https://integration.wikimedia.org/ci/job/mwext-mw-selenium-composer/2033/artifact/log/mw-debug-www.log)
  
  That would indicate that no example settings got loaded, and the extension is 
relying on default setting alone.
  
  Investigation is needed to determine what is actually happening, and how to 
best fix it.

TASK DETAIL
  https://phabricator.wikimedia.org/T128779

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: daniel
Cc: Krinkle, Aklapper, daniel, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to