In the Scheduler, when I add a session to a time slot for any room, the session moves to the time slot and says "Updating..." and then hangs. You can continue to add sessions to time slots, but they all do the same. Reload the Scheduler and none of the sessions are added to the time slots. The issue appears to be in cod_schedule_field_collection_item_add(). This method assumes that the $entity_id passed to it is a nid. In this particular case, however, the $entity_id is an array with a single nid in it. Then when entity_load() is called, $entity_id is added to an array. The array within the array results in entity_load returning nothing. Not sure if this has been fixed in later beta releases, but also didn't see this reported anywhere else, at least not for this reason. I looked at Beta12 (granted without installing/updating the current install), and it appears to be structured the same. A simple fix would be to check if the $entity_id is an array or int before making the entity_load() call.

Comments

sprocketman created an issue. See original summary.

japerry’s picture

Status: Active » Patch (to be ported)

So there were some architecture issues around large conferences, quicktabs, and a few other things.

We've pushed a new scheduler on the 2.x branch and encourage site developers to test it out!
See https://www.drupal.org/node/2514914 for more information. If there is desire to backport these changes, patches welcome!

betz’s picture

I have to say the module and distribution info is all very confusing.
There will be no upgrade path in version 2, but still you advice to use version 2 in #2514914: Schedule redesign.
And backporting architectural changes to v1, won't this make version 1 unstable?