Page MenuHomePhabricator

Phortune can fatal on Subscription View page with bad query
Closed, ResolvedPublic

Description

[Mon Feb 16 19:09:13.778070 2015] [:error] [pid 17237] [client 172.30.0.56:60664] [2015-02-16 19:09:13] EXCEPTION: (AphrontParameterQueryException) Array for %Ls conversion is empty. Query: t.phid IN (%Ls) at [<phutil>/src/xsprintf/qsprintf.php:252]
[Mon Feb 16 19:09:13.778252 2015] [:error] [pid 17237] [client 172.30.0.56:60664]   #0 _qsprintf_check_type(array, string, string) called at [<phutil>/src/xsprintf/qsprintf.php:129]
[Mon Feb 16 19:09:13.778260 2015] [:error] [pid 17237] [client 172.30.0.56:60664]   #1 xsprintf_query(AphrontMySQLiDatabaseConnection, string, integer, array, integer) called at [<phutil>/src/xsprintf/xsprintf.php:70]
[Mon Feb 16 19:09:13.778264 2015] [:error] [pid 17237] [client 172.30.0.56:60664]   #2 xsprintf(string, AphrontMySQLiDatabaseConnection, array) called at [<phutil>/src/xsprintf/qsprintf.php:64]
[Mon Feb 16 19:09:13.778267 2015] [:error] [pid 17237] [client 172.30.0.56:60664]   #3 qsprintf(AphrontMySQLiDatabaseConnection, string, array) called at [<phabricator>/src/infrastructure/daemon/workers/query/PhabricatorWorkerTriggerQuery.php:177]
[Mon Feb 16 19:09:13.778271 2015] [:error] [pid 17237] [client 172.30.0.56:60664]   #4 PhabricatorWorkerTriggerQuery::buildWhereClause(AphrontMySQLiDatabaseConnection) called at [<phabricator>/src/infrastructure/daemon/workers/query/PhabricatorWorkerTriggerQuery.php:86]
[Mon Feb 16 19:09:13.778275 2015] [:error] [pid 17237] [client 172.30.0.56:60664]   #5 PhabricatorWorkerTriggerQuery::loadPage() called at [<phabricator>/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php:227]
[Mon Feb 16 19:09:13.778278 2015] [:error] [pid 17237] [client 172.30.0.56:60664]   #6 PhabricatorPolicyAwareQuery::execute() called at [<phabricator>/src/applications/phortune/query/PhortuneSubscriptionQuery.php:118]
[Mon Feb 16 19:09:13.778282 2015] [:error] [pid 17237] [client 172.30.0.56:60664]   #7 PhortuneSubscriptionQuery::willFilterPage(array) called at [<phabricator>/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php:236]
[Mon Feb 16 19:09:13.778285 2015] [:error] [pid 17237] [client 172.30.0.56:60664]   #8 PhabricatorPolicyAwareQuery::execute() called at [<phabricator>/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php:167]
[Mon Feb 16 19:09:13.778289 2015] [:error] [pid 17237] [client 172.30.0.56:60664]   #9 PhabricatorPolicyAwareQuery::executeOne() called at [<phabricator>/src/applications/phortune/controller/PhortuneSubscriptionViewController.php:12]
[Mon Feb 16 19:09:13.778292 2015] [:error] [pid 17237] [client 172.30.0.56:60664]   #10 PhortuneSubscriptionViewController::handleRequest(AphrontRequest) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:196]
[Mon Feb 16 19:09:13.778295 2015] [:error] [pid 17237] [client 172.30.0.56:60664]   #11 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:121]
[Mon Feb 16 19:09:13.778299 2015] [:error] [pid 17237] [client 172.30.0.56:60664]   #12 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phabricator>/webroot/index.php:19]