Needs review
Project:
MongoDB
Version:
7.x-1.x-dev
Component:
Field storage
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Feb 2015 at 21:34 UTC
Updated:
22 Mar 2016 at 10:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
maartendbr commentedSame here. Not only when adding a new content type field but also when editing an existing one.
Comment #2
azovsky commentedI am trying to understand what is the reason here ...
Added a quick fix-patch. But! It is not a perfect solution, since it is not entirely clear intention of the author of mongodb_field_storage_query() function...
e.g. declaration of $entity_type in mongodb_field_storage_query() looks tricky :)
Tested on Drupal 7.35, MongoBD 7.x-1.x-dev (2015-Mar-07).
Comment #3
slashrsm commentedDo we know why those attributes are missing? Is $query completely uninitialized?
Comment #4
mac51 commentedSubscribing to this issue.
Comment #5
slashrsm commented@mac51: This kind of posts create a lot of noise in the issue queues. Use "Follow" button above to achieve the same result.
Comment #6
maartendbr commentedwhen I dpm $query on line 328 and on line 374 it shows an EntityFieldQuery object but propertyConditions is an empty array
module version:
Comment #7
francescjr commentedHad same issue, (a part of the warning of the issue, I had 2 more warning for "Undefined property EntityQueryfield::$propertyConditions in mongodb_field_storage_query() in line 334 and 392). (version rc2)
Applying the patch from azovsky solved all the warnings, but I also feel like him, I am not sure what is the purpose of the function "function mongodb_field_storage_query($query)" and if this quick fix is the real solution or not.
Comment #8
nehapandya55 commentedI faced same issue, and after creating field i got warnings "Undefined property EntityQueryfield::$propertyConditions in mongodb_field_storage_query() on dev version.
Applying the above patch solved all the warnings.