Download & Extend

Views (Field Collection) - AJAX HTTP error - ResponseText: Exception: Invalid field name given: [name of field] is not a Field..

Project:Field collection
Version:7.x-1.0-beta5
Component:Code
Category:bug report
Priority:major
Assigned:Unassigned
Status:active

Issue Summary

When ever I try to use views to show a field collection I always getting the following message and the result being that views is unable to display any of the fields I require from the field collection chosen.

The error is:

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /linode/mrfgr/admin/structure/views/view/a_test/preview/page/ajax
StatusText: Service unavailable (with message)
ResponseText: Exception: Invalid field name given: field_company_details is not a Field Collection field. in FieldCollectionItemEntity->__construct() (line 210 of /Applications/MAMP/htdocs/Linode/MRFGR/sites/all/modules/field_collection/field_collection.module).

Interestingly where it states 'field_company_details is not a Field Collection field' this is correct as it is purely a field and not a field collection so I'm not sure why it is stating this?

AttachmentSizeStatusTest resultOperations
Screen Shot 2013-01-04 at 15.58.38.png436.54 KBIgnored: Check issue status.NoneNone
Screen Shot 2013-01-04 at 15.58.12.png176.5 KBIgnored: Check issue status.NoneNone

Comments

#1

Hi,

How did you end up solving this? I have the same issue. Thanks much. Kevin

#2

I discovered it had to do with removing the contextual filter.