To prevent memory problems I updated my installation profile from uuid_features alpha4 to the latest dev, and used the option 'Package files with generated module.'.
During installation I got this:
Unknown error occurred attempting to import file: [error]
Undefined property: stdClass::$uri in _uuid_features_file_field_import_file() (line 646 .../uuid_features/uuid_features.module).
but when reverting after installation it worked fine and files were imported.
Any idea on why it broke during installation? should the module do a module_load_inlcude of some dependency?
related issue: https://www.drupal.org/node/2411869
Comment | File | Size | Author |
---|---|---|---|
#3 | fix-packaged-files-2488804-3.patch | 2.5 KB | JurriaanRoelofs |
Comments
Comment #1
JurriaanRoelofs CreditAttribution: JurriaanRoelofs commentedComment #2
JurriaanRoelofs CreditAttribution: JurriaanRoelofs commentedit seems that the work in this module has caused a number of problems, there is also a strange regression that causes my installation profile to corrupt the database when uuid_features is installed together with file_entity
If anyone is googling this error:
EntityMalformedException: Missing bundle property on entity of type bean. in entity_extract_ids() (line 7836 of ../includes/common.inc).
Then now you possibly know why your Drupal site is not exporting bean blocks anymore.
Comment #3
JurriaanRoelofs CreditAttribution: JurriaanRoelofs commentedI fixed a number of bugs in importing and exporting of files that are packaged with the module, which was especially buggy when file_entity module is also installed.
Using this patch it works without problems but the bean issue I mention in #2 still persists.
Comment #4
JurriaanRoelofs CreditAttribution: JurriaanRoelofs commentedComment #5
das-peter CreditAttribution: das-peter as a volunteer commentedPatch looks good to me - just found one minor nitpick:
Inline comments must end in full-stops, exclamation marks, or question marks.
Fixed that while committing and pushing this.
Shall we open a dedicated issue for #2?