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 editablefields module.

Does anyone have some experience in with these two module together ?

Best,
Jens

CommentFileSizeAuthor
#2 registration-access-1468520-2.patch1.47 KBdpi

Comments

SlashCrew’s picture

The problem comes from here:

entity_access('update', $entity_type, $entity)

Returns Null.

dpi’s picture

Status: Active » Needs review
StatusFileSize
new1.47 KB

Let me know if this fixes your issue.

SlashCrew’s picture

Status: Needs review » Fixed

Perfect, thanks Daniel !

dpi’s picture

Status: Fixed » Needs review

No problems, this may prove useful to others.

Code related to #1468512: Restrict registrations by role and associate registrants with their profile (restrict by roles)

SlashCrew’s picture

Very interesting :-)

levelos’s picture

Status: Needs review » Fixed

Took a slightly different tack, but we definitely need an access callback. Ref 678690b.

Status: Fixed » Closed (fixed)

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

  • levelos committed 678690b on 7.x-1.x, panels, any-entity, slots, integrations, hold_state
    Add registration_entity_access() callback and a "delete own registration...