Page MenuHomePhabricator

fatal error adding topic on beta labs
Closed, ResolvedPublic

Description

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...')


Version: unspecified
Severity: major

Details

Reference
bz61393

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:55 AM
bzimport set Reference to bz61393.
bzimport added a subscriber: Unknown Object (MLST).

Oops, guess that's what happens when you merge 40 patches in one day. Luckily, Matthias has a patch in Gerrit for this already :)

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

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