Last modified: 2014-02-18 15:06:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T63393, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61393 - fatal error adding topic on beta labs
fatal error adding topic on beta labs
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
unspecified
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
: browser-test-bug
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-14 20:00 UTC by Chris McMahon
Modified: 2014-02-18 15:06 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris McMahon 2014-02-14 20:00:27 UTC
attempt to add a topic at http://en.wikipedia.beta.wmflabs.org/wiki/Talk:Flow_QA

get error "An error occurred while contacting the server."


In the fatals log find: 


[14-Feb-2014 19:57:58] Catchable fatal error: Argument 1 passed to Flow\Model\LocalCacheAbstractCollection::getRevision() must be an instance of Flow\Model\UUID, null given, called in /data/project/apache/common-local/php-master/extensions/Flow/includes/Collection/AbstractCollection.php on line 167 and defined at /data/project/apache/common-local/php-master/extensions/Flow/includes/Collection/LocalCacheAbstractCollection.php on line 39
Server: i-0000031a
Method: POST
URL: http://en.wikipedia.beta.wmflabs.org/w/api.php
Cookie: optin=beta; centralauth_LoggedOut=1390844555; wikiEditor-0-toolbar-section=characters; wikiEditor-0-booklet-characters-page=latin; edittoolscharsubset=0; mediaWiki.user.bucket%3Aext.articleFeedbackv5%4011-tracking=11%3Aignore; mediaWiki.user.bucket%3Aext.articleFeedbackv5%406-form=6%3A6; mediaWiki.user.bucket%3Aext.articleFeedbackv5%405-links=5%3AX; ve-beta-welcome-dialog=1; centralnotice_bucket=1-4.2; enwikiUserID=820; enwikiUserName=Selenium+user; centralauth_User=Selenium+user; uls-previous-languages=%5B%22en%22%5D; mediaWiki.user.sessionId=0Ed5cwsltbXTVWvVVmzi0tAMbMDX75bf; vector-nav-p-tb=true; vector-nav-p-coll-print_export=true
Backtrace:
#0 /data/project/apache/common-local/php-master/extensions/Flow/includes/Collection/LocalCacheAbstractCollection.php(39): Flow\Model\LocalCacheAbstractCollection::getRevision()
#1 /data/project/apache/common-local/php-master/extensions/Flow/includes/Collection/AbstractCollection.php(167): Flow\Model\LocalCacheAbstractCollection->getRevision(NULL)
#2 /data/project/apache/common-local/php-master/extensions/Flow/includes/Data/RecentChanges.php(79): Flow\Model\AbstractCollection->getPrevRevision(Object(Flow\Model\PostRevision))
#3 /data/project/apache/common-local/php-master/extensions/Flow/includes/Data/RecentChanges.php(202): Flow\Data\RecentChanges->insert(Object(Flow\Model\PostRevision), 'topic', 'PostRevision', Array, Object(Flow\Model\Workflow), Array)
#4 /data/project/apache/common-local/php-master/extensions/Flow/includes/Data/ObjectManager.php(660): Flow\Data\PostRevisionRecentChanges->onAfterInsert(Object(Flow\Model\PostRevision), Array)
#5 /data/project/apache/common-local/php-master/extensions/Flow/includes/Data/ObjectManager.php(637): Flow\Data\ObjectManager->insert(Object(Flow\Model\PostRevision))
#6 /data/project/apache/common-local/php-master/extensions/Flow/includes/Data/ObjectManager.php(209): Flow\Data\ObjectManager->put(Object(Flow\Model\PostRevision))
#7 /data/project/apache/common-local/php-master/extensions/Flow/includes/Block/TopicList.php(144): Flow\Data\ManagerGroup->put(Object(Flow\Model\PostRevision))
#8 /data/project/apache/common-local/php-master/extensions/Flow/includes/WorkflowLoader.php(216): Flow\Block\TopicListBlock->commit()
#9 /data/project/apache/common-local/php-master/extensions/Flow/includes/api/ApiFlow.php(59): Flow\WorkflowLoader->commit(Object(Flow\Model\Workflow), Array)
#10 /data/project/apache/common-local/php-master/includes/api/ApiMain.php(861): ApiFlow->execute()
#11 /data/project/apache/common-local/php-master/includes/api/ApiMain.php(362): ApiMain->executeAction()
#12 /data/project/apache/common-local/php-master/includes/api/ApiMain.php(333): ApiMain->executeActionWithErrorHandling()
#13 /data/project/apache/common-local/php-master/api.php(76): ApiMain->execute()
#14 /data/project/apache/common-local/w/api.php(3): require('/data/project/a...')
Comment 1 Maryana Pinchuk 2014-02-14 21:23:16 UTC
Oops, guess that's what happens when you merge 40 patches in one day. Luckily, Matthias has a patch in Gerrit for this already :)
Comment 2 Matthias Mullie 2014-02-14 21:23:46 UTC
https://gerrit.wikimedia.org/r/#/c/113389/ should fix that
Comment 3 Gerrit Notification Bot 2014-02-14 21:30:15 UTC
Change 113389 had a related patch set uploaded by Spage:
Return null instead of failing when requesting previous revision if there is none

https://gerrit.wikimedia.org/r/113389
Comment 4 Gerrit Notification Bot 2014-02-14 21:48:51 UTC
Change 113389 merged by jenkins-bot:
Return null instead of failing when requesting previous revision if there is none

https://gerrit.wikimedia.org/r/113389

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links