I've got a use for having a field collection as one or more of the fields in a bean. I am able to successfully create beans with a variety of different field types with no issues. I can add a field collection field to a bean (and add fields to the field collection on the field collection manage pages) but once I attempt to add a bean instance which has the field collection field I get an immediate error with no further debugging info:

DatabaseTransactionNoActiveException: in DatabaseConnection->rollback() (line 1024 of /opt/www/tng-fresh/includes/database/database.inc).
The website encountered an unexpected error. Please try again later.

I didn't see any mention of field collection fields in other issues so I am not even sure if it's meant to be supported or not. If it is expected to work I can try to provide additional context to try and sort out what's not working.

Comments

DamienMcKenna’s picture

Does this problem still happen?

rooby’s picture

I am using field collections in beans with no problems.

Currently using field_collection-7.x-1.0-beta5 & 7.x-1.0-rc9 (Don't judge, I'll be updating in a minute :))

DamienMcKenna’s picture

Status: Active » Closed (works as designed)

Likewise, this is working fine.