We need to add some menu callbacks that if the devel module is enabled, adds a file/%file/devel local task with sub-tabs for load and render so that it is easier to inspect what is "inside" a file object or render array.

Files: 
CommentFileSizeAuthor
#2 1401548-devel-tabs.patch2.35 KBDave Reid
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 1401548-devel-tabs_0.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots. View
#1 1401548-devel-tabs.patch2.04 KBDave Reid
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 1401548-devel-tabs.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots. View

Comments

Dave Reid’s picture

Status: Active » Needs review
FileSize
2.04 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 1401548-devel-tabs.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots. View

Patch with the necessary changes

Dave Reid’s picture

FileSize
2.35 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 1401548-devel-tabs_0.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots. View

Arg.

Status: Needs review » Needs work

The last submitted patch, 1401548-devel-tabs.patch, failed testing.

Dave Reid’s picture

Status: Needs work » Fixed

Not sure what's going on with tests (#1417894: File entity tests depending on non-core file module) but I've confirmed this works perfectly and is super helpful for debugging. Committed to 7.x-2.x.

http://drupalcode.org/project/file_entity.git/commit/7df0ee4

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.