Closed (fixed)
Project:
FileField
Version:
6.x-3.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2009 at 01:08 UTC
Updated:
3 Apr 2009 at 17:15 UTC
As in this comment, I added a relationship for "Content: [Label] (field_[name_of_field)" to have acces to [filepath] token to display just the file path as a field in Views.
However, when I click on this new "File: Path" field, I get a pop-up error "An error occurred at /admin/build/views/ajax/config-item/jobs/page_1/field/filepath." And then the swirly starts spinning and nothing happens. So I can't edit the "File: Path" field's label or settings.
Any ideas?
Many thanks.
Comments
Comment #1
quicksketchThanks, I've noticed this from time to time also, but I had thought it was caused by using the development version of Views. Looks like this is a problem in the 2.3 version of Views also.
I could reproduce this using the steps you described, then by using Firebug I looked at the AJAX request to see what the actual error was:
Then I took a look over in the Views issue queue, looks like FileField isn't the only module having this trouble: See #380560: Fatal error: Call to a member function get_handlers().
As a work-around, you can just reload the page after getting this error. The new field will be added regardless of the error, and then you can edit your view right where you left off.
Comment #2
ellanylea commentedThanks!
The patch from http://drupal.org/node/380560#comment-1299602 worked.