Page MenuHomePhabricator

ERR-CONDUIT-CORE: #1364: Field 'priority' doesn't have a default value
Closed, ResolvedPublic

Description

Observed this occurring when trying to use maniphest.createtask.

Event Timeline

hach-que assigned this task to epriestley.
hach-que raised the priority of this task from to Needs Triage.
hach-que updated the task description. (Show Details)
hach-que added projects: Maniphest, Conduit.
hach-que added a subscriber: hach-que.

This is also killing the Git commit change worker:

[2014-07-14 19:56:07] EXCEPTION: (AphrontQueryException) #1364: Field 'priority' doesn't have a default value at [<phutil>/src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnectionBase.php:308]
  #0 AphrontMySQLDatabaseConnectionBase::throwQueryCodeException(integer, string) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnectionBase.php:275]
  #1 AphrontMySQLDatabaseConnectionBase::throwQueryException(mysqli) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnectionBase.php:181]
  #2 AphrontMySQLDatabaseConnectionBase::executeRawQuery(string) called at [<phutil>/src/xsprintf/queryfx.php:6]
  #3 queryfx(AphrontMySQLiDatabaseConnection, string, string, string, array, string)
  #4 call_user_func_array(string, array) called at [<phutil>/src/aphront/storage/connection/AphrontDatabaseConnection.php:26]
  #5 AphrontDatabaseConnection::query(string, string, string, array, string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:1282]
  #6 LiskDAO::insertRecordIntoDatabase(string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:1129]
  #7 LiskDAO::insert() called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:1098]
  #8 LiskDAO::save() called at [<phabricator>/src/infrastructure/daemon/workers/storage/PhabricatorWorkerActiveTask.php:53]
  #9 PhabricatorWorkerActiveTask::forceSaveWithoutLease() called at [<phabricator>/src/infrastructure/daemon/workers/storage/PhabricatorWorkerActiveTask.php:36]
  #10 PhabricatorWorkerActiveTask::save() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorWorker.php:127]
  #11 PhabricatorWorker::scheduleTask(string, array) called at [<phabricator>/src/applications/search/index/PhabricatorSearchIndexer.php:10]
  #12 PhabricatorSearchIndexer::queueDocumentForIndexing(string) called at [<phabricator>/src/applications/repository/worker/commitchangeparser/PhabricatorRepositoryCommitChangeParserWorker.php:97]
  #13 PhabricatorRepositoryCommitChangeParserWorker::finishParse() called at [<phabricator>/src/applications/repository/worker/commitchangeparser/PhabricatorRepositoryCommitChangeParserWorker.php:35]
  #14 PhabricatorRepositoryCommitChangeParserWorker::parseCommit(PhabricatorRepository, PhabricatorRepositoryCommit) called at [<phabricator>/src/applications/repository/worker/PhabricatorRepositoryCommitParserWorker.php:44]
  #15 PhabricatorRepositoryCommitParserWorker::doWork() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorWorker.php:85]
  #16 PhabricatorWorker::executeTask() called at [<phabricator>/scripts/repository/reparse.php:279]

I upgraded to HEAD and the issue went away.