Page MenuHomePhabricator

Unhandled Exception ("PhabricatorDataNotAttachedException") when trying to download raw diff in Differential
Closed, ResolvedPublic

Description

When clicking on "Download Raw Diff" in the Diffusion, I see the following error:

Unhandled Exception ("PhabricatorDataNotAttachedException")
Attempting to access attached data on DifferentialChangeset (via getDiff()), 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.

Saw this on TOT as of 5 mins ago. Error persists through server restarts.

Event Timeline

danvin raised the priority of this task from to Needs Triage.
danvin updated the task description. (Show Details)
danvin added a project: Phabricator.
danvin added a subscriber: danvin.

I can't immediately reproduce this at HEAD. I'm not sure what TOT is. Does this reproduce for you on this install (secure.phabricator.com)?

There should be a stack trace in your Apache, nginx, or php-fpm error log. Can you dig that up?

Just reproduced on secure.phabricator.com: https://secure.phabricator.com/D9460?download=true

Sorry, TOT = top of tree :)

epriestley renamed this task from Unhandled Exception ("PhabricatorDataNotAttachedException") when trying to download raw diff in Diffusion to Unhandled Exception ("PhabricatorDataNotAttachedException") when trying to download raw diff in Differential.Jun 10 2014, 9:42 PM
epriestley edited projects, added Differential; removed Diffusion.

Bah. s/Diffusion/Differential/

Sorry!