https://bugzilla.wikimedia.org/show_bug.cgi?id=64779
Bug ID: 64779
Summary: refreshGlobalimagelinks.php dies with "No transaction
to commit"
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: GlobalUsage
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
Steps to reproduce:
1. check out Extension:GlobalUsage
2. add require call to LocalSettings.pgp
3. run update.php
4. run php extensions/GlobalUsage/refreshGlobalimagelinks.php
Querying links after (page_id, il_to) = (0, )
PHP Notice: DatabaseBase::commit: No transaction to commit, something got out
of sync! [Called from DatabaseBase::commit in
/vagrant/mediawiki/includes/db/Database.php at line 3464] in
/vagrant/mediawiki/includes/debug/Debug.php on line 303
PHP Stack trace:
PHP 1. {main}()
/vagrant/mediawiki/extensions/GlobalUsage/refreshGlobalimagelinks.php:0
PHP 2. require_once()
/vagrant/mediawiki/extensions/GlobalUsage/refreshGlobalimagelinks.php:107
PHP 3. RefreshGlobalImageLinks->execute()
/vagrant/mediawiki/maintenance/doMaintenance.php:109
PHP 4. DatabaseBase->commit()
/vagrant/mediawiki/extensions/GlobalUsage/refreshGlobalimagelinks.php:99
PHP 5. wfWarn() /vagrant/mediawiki/includes/db/Database.php:3464
PHP 6. MWDebug::warning()
/vagrant/mediawiki/includes/GlobalFunctions.php:1144
PHP 7. MWDebug::sendMessage() /vagrant/mediawiki/includes/debug/Debug.php:157
PHP 8. trigger_error() /vagrant/mediawiki/includes/debug/Debug.php:303
The link refresh is successful though, as far as I can tell.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l