Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After I created a group and a group content type, I tried to generate content using devel-7.x-1.3 module. Here is the error I get:
EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7663 of xxx\includes\common.inc).
The website encountered an unexpected error. Please try again later.
Please see this node for a full report of this issue and other issues that might be related: https://drupal.org/node/1986222
Comment | File | Size | Author |
---|---|---|---|
#10 | devel-generate_users-1986438-10.patch | 614 bytes | InternetDevels |
#7 | devel-generate_users-1986438-7.patch | 710 bytes | InternetDevels |
Comments
Comment #1
Mo Omar CreditAttribution: Mo Omar commentedComment #2
salvisCan you reproduce this without the "Demo" module that you mentioned in the other post?
Please fix the first error first.
Comment #3
Mo Omar CreditAttribution: Mo Omar commented1) I can generate content manually without devel module
2) I uninstalled demo module then tried to generate OG content again but without luck. I got the same error mentioned above
Comment #4
salvisOk, then add your your error details for this error to this issue and move it to the OG queue to find out what the OG maintainers think of it.
Comment #5
sainath258 CreditAttribution: sainath258 commentedhello,
I am having the same issue. Initially The devel module worked fine for generating users.
It throws me the same error when i wanted to generate content..
EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7666 of F:\Drupal\ogdev\includes\common.inc).
And now the devel generate users also does not work. i tried uninstalling the devel module and reinstalling countless times. But that didnot work either.
Please help..
Comment #6
sainath258 CreditAttribution: sainath258 commentedI was trying to go through #13 here http://drupal.org/node/1778572
I am beginner. any simpler solution of the same?
Comment #7
InternetDevels CreditAttribution: InternetDevels commentedHere is a patch which fixes this issue
Comment #9
pcambraYou need to generate the patch from the module root, check this doc page for more info
The first line of the patch
diff --git a/sites/all/modules/devel/devel_generate/devel_generate.fields.inc b/sites/all/modules/devel/devel_generate/devel_generate.fields.inc
should look like
diff --git a/devel_generate/devel_generate.fields.inc b/devel_generate/devel_generate.fields.inc
In any case I don't see how your patch fixes the problem, you're just removing the object field from the data...
What we need here are steps to reproduce the problem and maybe a trace of the error to track what's happening
Comment #10
InternetDevels CreditAttribution: InternetDevels commentedRegenerated patch:
Comment #11
smiletrl CreditAttribution: smiletrl commentedPatch at #10 fixed this error for me. Thanks!
I get this error when I generate user in site. This error happens on one of my sites which has installed og package modules. Other sites work fine this the original devel module.
Thanks again!
Comment #12
salvisThis is a fundamental change: Instead of setting
you're setting
This may avoid the crash, but it does not smell right.
Comment #13
EdgarPE CreditAttribution: EdgarPE commented@salvis, I think it's NOT setting to
but to:
Comment #14
k.dani CreditAttribution: k.dani commented#10 patch doesn't work for me...only the node title is going to be filled, the other fields will be empty, if I generate content after I applied the patch.
Comment #15
massiws CreditAttribution: massiws commentedSame problem here.
After install Organic Group module I get the same error as #1 when I try to generate users or contents.
Apply patch at #10 fixed this error but only title is filled, same as #14.
Comment #16
Yorgg CreditAttribution: Yorgg commented#10 worked for me
Comment #17
salvis@EdgarPE:
You could be right, thanks for catching that. I think it should be written with
=> NULL
for clarity.Still, we have anecdotal evidence for and against the patch, and no one besides the patch author has made an effort to understand what is happening.
#10 may get us closer to a solution and may be sufficient in some cases — we need a code-level review by a third party who knows this stuff.
Comment #18
vadim.jin CreditAttribution: vadim.jin commented#10: devel-generate_users-1986438-10.patch queued for re-testing.
Comment #18.0
vadim.jin CreditAttribution: vadim.jin commentedI wrote the wrong error. Here is the right one.
Comment #19
willzyx CreditAttribution: willzyx commentedClosing for lack of activity. Feel free to reopen if the issue still exists