Closed (fixed)
Project:
Editable Fields
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2012 at 09:38 UTC
Updated:
20 Mar 2012 at 01:30 UTC
I am making a check-in list using views, but it seems Editablefields and Entity Registrations does not really play well together. The idea is take all the registrations for an event, display them in a view, use editablefields to display a checkbox outside each registration. Check the attendees in using a connected iPad.
But I get some errors when I try to compine the two modules. Using a standard article it works fine, but in combination with Entity Registrations, I get an error. I am not sure if the problem is with this module or the Entity Registrations module.
Does anyone have some experience in with these two module together ?
The error is:
Notice: Undefined index: module in editablefields_fallback_formatter() (line 201 of /localpath/sites/all/modules/editablefields/editablefields.module).
Best,
Jens
Comments
Comment #1
SlashCrew commentedThe Display variable in editablefields_fallback_formatter($entity_type, $entity, $field, $instance, $langcode, $items, $display) contains:
Comment #2
SlashCrew commentedentity_access('update', $entity_type, $entity) in function editablefields_field_formatter_view($entity_type, $entity, $field, $instance, $langcode, &$items, $display) returns null, this seems to be the problem.
If I change
to
It's working
Comment #3
SlashCrew commentedThe problem is here:
entity_access('update', $entity_type, $entity)returns null
Comment #4
SlashCrew commentedSolution: http://drupal.org/node/1468520