Replicated this on a fresh install with only views and devel enabled, so pretty sure it's a bug. If you create a view that shows files in a block, then add a Contextual Filter: FID, then type anything in the Preview with contextual filters box, Views throws an AJAX Http error:

HTTP Result Code:200
Path:
/admin/structure/views/view/my_view/preview/block/ajax
StatusText: OK
ResponseText:
Fatal error: Call to member function condition() on a non object in .../sites/all/modules/views/modules/system/views_handler_argument_file_fid.inc on line 12

If you leave the context filter box blank the view executes fine.

Comments

RobW’s picture

Title: FID contextual filter breaks preview » FID contextual filter breaks view
Component: User interface » Code
Priority: Normal » Major

Sorry for the double post, looking closer at the problem it breaks the view entirely. Should have realized that sooner, long day.

Fatal error: Call to a member function condition() on a non-object in /home/plymouthphoto/jaeruberto/sites/all/modules/views/modules/system/views_handler_argument_file_fid.inc on line 12

dawehner’s picture

Status: Active » Fixed

Fixed in dev. Thanks for reporting the issue.Can you please try to test this patch?

I'

RobW’s picture

Works like a charm. Thanks for the quick response.

Status: Fixed » Closed (fixed)

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