Page MenuHomePhabricator

Duplicate entry for key 'originalPHID'
Closed, DuplicatePublic

Description

Just digging through our PHP logs and found this:

[28-Jul-2015 18:30:50 Australia/Sydney] [2015-07-28 18:30:50] EXCEPTION: (AphrontDuplicateKeyQueryException) #1062: Duplicate entry 'PHID-FILE-awoj75fk537doqt3zejs-meme618167f4d1af072f8be937911c93e' for key 'originalPHID' at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:299]
[28-Jul-2015 18:30:50 Australia/Sydney] arcanist(head=master, ref.master=5e4f9a2bf9d2), phabricator(head=master, ref.master=3bfb43629602, custom=1), phlab(head=master, ref.master=76e00f2a51e8), phutil(head=master, ref.master=aa6cd8f7e5e5)
[28-Jul-2015 18:30:50 Australia/Sydney]   #0 <#2> AphrontBaseMySQLDatabaseConnection::throwQueryCodeException(integer, string) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:275]
[28-Jul-2015 18:30:50 Australia/Sydney]   #1 <#2> AphrontBaseMySQLDatabaseConnection::throwQueryException(mysqli) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:181]
[28-Jul-2015 18:30:50 Australia/Sydney]   #2 <#2> AphrontBaseMySQLDatabaseConnection::executeRawQuery(string) called at [<phutil>/src/xsprintf/queryfx.php:6]
[28-Jul-2015 18:30:50 Australia/Sydney]   #3 <#2> queryfx(AphrontMySQLiDatabaseConnection, string, string, string, array, string)
[28-Jul-2015 18:30:50 Australia/Sydney]   #4 <#2> call_user_func_array(string, array) called at [<phutil>/src/aphront/storage/connection/AphrontDatabaseConnection.php:28]
[28-Jul-2015 18:30:50 Australia/Sydney]   #5 <#2> AphrontDatabaseConnection::query(string, string, string, array, string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:1261]
[28-Jul-2015 18:30:50 Australia/Sydney]   #6 <#2> LiskDAO::insertRecordIntoDatabase(string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:1106]
[28-Jul-2015 18:30:50 Australia/Sydney]   #7 <#2> LiskDAO::insert() called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:1075]
[28-Jul-2015 18:30:50 Australia/Sydney]   #8 <#2> LiskDAO::save() called at [<phabricator>/src/applications/macro/controller/PhabricatorMacroMemeController.php:65]
[28-Jul-2015 18:30:50 Australia/Sydney]   #9 <#2> PhabricatorMacroMemeController::generateMacro(PhabricatorUser, string, NULL, NULL) called at [<phabricator>/src/applications/macro/controller/PhabricatorMacroMemeController.php:18]
[28-Jul-2015 18:30:50 Australia/Sydney]   #10 <#2> PhabricatorMacroMemeController::processRequest() called at [<phabricator>/src/aphront/AphrontController.php:33]
[28-Jul-2015 18:30:50 Australia/Sydney]   #11 <#2> AphrontController::handleRequest(AphrontRequest) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:226]
[28-Jul-2015 18:30:50 Australia/Sydney]   #12 phlog(AphrontDuplicateKeyQueryException) called at [<phabricator>/src/aphront/configuration/AphrontDefaultApplicationConfiguration.php:230]
[28-Jul-2015 18:30:50 Australia/Sydney]   #13 AphrontDefaultApplicationConfiguration::handleException(AphrontDuplicateKeyQueryException) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:230]
[28-Jul-2015 18:30:50 Australia/Sydney]   #14 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:140]
[28-Jul-2015 18:30:50 Australia/Sydney]   #15 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phabricator>/webroot/index.php:21]