When manually uploading a file through https://secure.phabricator.com/differential/diff/create/ or through clicking "update diff" on a diff.
one gets the following error:
Unhandled Exception ("PhabricatorDataNotAttachedException") Attempting to access attached data on DifferentialDiff (via getBuildable()), but the data is not actually attached. Before accessing attachable data on an object, you must load and attach it. Data is normally attached by calling the corresponding needX() method on the Query class when the object is loaded. You can also call the corresponding attachX() method explicitly.
and the following backtrace:
Data is normally attached by calling the corresponding needX() method on the Query class when the object is loaded. You can also call the corresponding attachX() method explicitly. at [<phabricator>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:166] PHP message: arcanist(head=master, ref.master=de58fc809e37), phabricator(head=master, ref.master=4fe01fe66535), phutil(head=master, ref.master=0243c10efd62) PHP message: #0 <#2> PhabricatorLiskDAO::assertAttached(string) called at [<phabricator>/src/applications/differential/storage/DifferentialDiff.php:331] PHP message: #1 <#2> DifferentialDiff::getBuildable() called at [<phabricator>/src/applications/differential/storage/DifferentialDiff.php:335] PHP message: #2 <#2> DifferentialDiff::getBuildTargetPHIDs() called at [<phabricator>/src/applications/differential/storage/DifferentialDiff.php:352] PHP message: #3 <#2> DifferentialDiff::loadCoverageMap(PhabricatorUser) called at [<phabricator>/src/applications/differential/controller/DifferentialDiffViewController.php:111] PHP message: #4 <#2> DifferentialDiffViewController::processRequest() called at [<phabricator>/src/aphront/AphrontController.php:33] PHP message: #5 <#2> AphrontController::handleRequest(AphrontRequest) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:226] PHP message: #6 phlog(PhabricatorDataNotAttachedException) called at [<phabricator>/src/aphront/configuration/AphrontDefaultApplicationConfiguration.php:230] PHP message: #7 AphrontDefaultApplicationConfiguration::handleException(PhabricatorDataNotAttachedException) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php