I am getting the error message "The referenced entity (field_collection_item: 1) is invalid". I built my COD site using cod_support modules and not the distro. I can not reproduce in a fresh COD, and it is only happening in one of my conferences and not the other. But since my database somehow became corrupted through what could be considered normal use of these module (I haven't changed code or monkeyed with the database) I thought I'd put the details here in case someone else comes across this.

When I am logged in as NOT user 1 with admin priviledges (all admin priviledges checked) and when there is another conference set as default (not when there is NO conference set as default) and I go to edit a session or schedule item, I get the message "The referenced entity (field_collection_item: 1) is invalid" and none of my changes are saved.

I have used the new view to check for duplicate timeslots and I did not find any duplicates.
If I set the default conference flag on my faulty conference, then the error disappears. If I remove the default conference flag on the other conference, the error disappears (no default conference). If I log in as user 1 the error disappears.

My workaround has been to not use default conference flag to control displayed content for now and change the menu links where needed.

Comments

lafasofamily’s picture

Priority: Normal » Minor
japerry’s picture

You might see some improvements with the latest Dev (although its quite different than the current version, so test and revert features manually)

The 'default session' we've been seeing only really works well when there is only one session. After that things start to fall apart. I'm wondering if we should just pull default session out altogether and just set that variable automatically based on the number of conferences a site has.