Page MenuHomePhabricator

Destroying (with ./bin/remove destroy CLI) an object (here a project not tested for other object) raise an error.
Closed, ResolvedPublic

Description

Destroying PhabricatorProject PHID-PROJ-tg5pbwcwkl2d4pt3kscr...
[2015-05-18 16:01:46] EXCEPTION: (AphrontSchemaQueryException) #1054: Unknown column 'id' in 'where clause' at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:308]
arcanist(head=master, ref.master=0c9a03771961), phabricator(head=master, ref.master=79e8d9fc2db1), phutil(head=master, ref.master=0292c5fb6b04)
  #0 AphrontBaseMySQLDatabaseConnection::throwQueryCodeException(integer, string) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:275]
  #1 AphrontBaseMySQLDatabaseConnection::throwQueryException(mysqli) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:181]
  #2 AphrontBaseMySQLDatabaseConnection::executeRawQuery(string) called at [<phutil>/src/xsprintf/queryfx.php:6]
  #3 queryfx(AphrontMySQLiDatabaseConnection, string, string, string, NULL)
  #4 call_user_func_array(string, array) called at [<phutil>/src/aphront/storage/connection/AphrontDatabaseConnection.php:26]
  #5 AphrontDatabaseConnection::query(string, string, string, NULL) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:1176]
  #6 LiskDAO::delete() called at [<phabricator>/src/applications/system/engine/PhabricatorDestructionEngine.php:124]
  #7 PhabricatorDestructionEngine::destroyNotifications(string) called at [<phabricator>/src/applications/system/engine/PhabricatorDestructionEngine.php:55]
  #8 PhabricatorDestructionEngine::destroyObject(PhabricatorProject) called at [<phabricator>/src/applications/system/management/PhabricatorSystemRemoveDestroyWorkflow.php:98]
  #9 PhabricatorSystemRemoveDestroyWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:406]
  #10 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:301]
  #11 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/setup/manage_remove.php:21]
zsh: exit 255   ./bin/remove destroy PHID-PROJ-tg5pbwcwkl2d4pt3kscr